* syntax-checks.mk (ams): The previous change 'v1.11b-36-g127adfb' solved
one problem in the definition of this variable, but also caused it contain
the names of all the left-behind 't/*.dir' temporary test directories.
Fix that.

Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com>
---
 syntax-checks.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax-checks.mk b/syntax-checks.mk
index 5d528f8..4d5ab6f 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -33,7 +33,7 @@ xtests := $(shell \
 
 xdefs = $(srcdir)/defs $(srcdir)/defs-static.in
 
-ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -o -name '*.am')
+ams := $(shell find $(srcdir) -name '*.dir' -prune -o -name '*.am' -print)
 
 # Some simple checks, and then ordinary check.  These are only really
 # guaranteed to work on my machine.
-- 
1.7.9.5


Reply via email to