]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maintcheck: avoid yet more spurious failures (2)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 11 Apr 2012 19:01:39 +0000 (21:01 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 11 Apr 2012 19:01:41 +0000 (21:01 +0200)
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.lattarini@gmail.com>
syntax-checks.mk

index 77bb6eb2168c5b6997f7bb29e4e351daf52533a9..3a6d9dd9ff3a25e03493ff49fc535f7183fb5c5c 100644 (file)
@@ -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.