From: Stefano Lattarini Date: Wed, 11 Apr 2012 19:01:39 +0000 (+0200) Subject: maintcheck: avoid yet more spurious failures (2) X-Git-Tag: v1.11d~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8036e5a14904b1a0ea97be52cc83a33c9955f3fb;p=thirdparty%2Fautomake.git maintcheck: avoid yet more spurious failures (2) 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 --- diff --git a/syntax-checks.mk b/syntax-checks.mk index 77bb6eb21..3a6d9dd9f 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.