automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] tests: fix spurious failure in test on Flex headers


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] tests: fix spurious failure in test on Flex headers
Date: Tue, 28 Aug 2012 11:54:44 +0200

* t/lex-headers.sh: Don't use 'yl_distcheck', simply call "make distcheck"
instead, as GNU make cannot suffer of the FreeBSD bug 'yl_distcheck' was
meant to guard against.
(Makefile.am): Don't use $(AM_MAKEFLAGS) when invoking make recursively.
This avoids a maintainer-check failure.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/lex-header.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/lex-header.sh b/t/lex-header.sh
index f8d7333..a0a57df 100755
--- a/t/lex-header.sh
+++ b/t/lex-header.sh
@@ -34,7 +34,7 @@ BUILT_SOURCES = mylex.h
 # Recover from removal of header.
 mylex.h: foo-lexer.c
        test -f $@ || rm -f foo-lexer.c
-       test -f $@ || $(MAKE) $(AM_MAKEFLAGS) foo-lexer.c
+       test -f $@ || $(MAKE) foo-lexer.c
 END
 
 cat > lexer.l << 'END'
@@ -81,6 +81,6 @@ $MAKE
 test -f mylex.h
 
 # Sanity check on distribution.
-yl_distcheck
+$MAKE distcheck
 
 :
-- 
1.7.12




reply via email to

[Prev in Thread] Current Thread [Next in Thread]