From 715052c219f89af9d34247435bbe78b031a405c6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Sat, 24 Sep 2016 21:40:47 -0700
Subject: [PATCH] build: avoid "./configure && make dist" missing-dep. failure

* Makefile.am (run-syntax-check): Depend on "all", to avoid a
parallel build failure due to missing dependencies. Reported by
Paul Eggert in https://bugs.gnu.org/24256#50
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 188d475..3a52e8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,7 +39,7 @@ check-very-expensive: check-expensive

 # Run syntax-check rules before creating a distribution tarball.
 .PHONY: run-syntax-check
-run-syntax-check:
+run-syntax-check: all
 	$(AM_V_GEN)test ! -d .git || $(MAKE) syntax-check

 # Arrange so that .tarball-version appears only in the distribution
-- 
2.7.4

