* syntax-checks.mk (ams): The definition of this variable was invoking
the 'find' utility in an incorrect way, which resulted into the variable
being empty, thus reducing coverage in some maintainer check and making
other hang. Fix this.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
xdefs = $(srcdir)/defs $(srcdir)/defs-static.in
-ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -a -name '*.am')
+ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -o -name '*.am')
# Some simple checks, and then ordinary check. These are only really
# guaranteed to work on my machine.