From 8036e5a14904b1a0ea97be52cc83a33c9955f3fb Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 11 Apr 2012 21:01:39 +0200 Subject: [PATCH] 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 --- syntax-checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.2