Some maintainer checks were too greedy in processing 'Makefile.am' files, looking for them even in temporary directories left behind by the test cases, thus causing occasional spurious failures.
* syntax-checks.mk (ams): Ignore 'Makefile.am' files in the temporary test directories. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- syntax-checks.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/syntax-checks.mk b/syntax-checks.mk index 77bb6eb..3a6d9dd 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 '*.am') +ams := $(shell find $(srcdir) '(' -name '*.dir' -prune ')' -a -name '*.am') # Some simple checks, and then ordinary check. These are only really # guaranteed to work on my machine. -- 1.7.9