* 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.lattarini@gmail.com>
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.