From: Tom Tromey Date: Sun, 10 Dec 1995 22:58:55 +0000 (+0000) Subject: Fixed 'make check' bugs X-Git-Tag: Release-0-25^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b256f4307793c78a477c623d9c6209c039b4e786;p=thirdparty%2Fautomake.git Fixed 'make check' bugs --- diff --git a/ChangeLog b/ChangeLog index 73c5bbeb6..7f92715aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Sun Dec 10 11:59:33 1995 Tom Tromey + * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense + of 'if' test. + * depend.am (DEP_FILES): Bug fix. * automake.in (do_one_clean_target): Typo. diff --git a/Makefile.am b/Makefile.am index f6ca533ec..0b78481ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,10 +29,10 @@ ETAGS_ARGS = automake.in --lang=none \ # These are only really guaranteed to work on my machine. check-local: automake @PERL@ -c -w automake - if grep '^[^#].*true' *.am; then :; else \ + if grep '^[^#].*true' [a-z]*.am; then \ echo "can't use 'true' in GNU Makefile" 1>&2; \ exit 1; \ - fi + else :; fi if test -f /usr/local/bin/perl4.036; then \ /usr/local/bin/perl4.036 -c -w automake; \ else :; fi diff --git a/Makefile.in b/Makefile.in index 761f529a9..7fe35d1d8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -296,10 +296,10 @@ maintainer-clean: distclean maintainer-clean-binSCRIPTS maintainer-clean-vti mai # These are only really guaranteed to work on my machine. check-local: automake @PERL@ -c -w automake - if grep '^[^#].*true' *.am; then :; else \ + if grep '^[^#].*true' [a-z]*.am; then \ echo "can't use 'true' in GNU Makefile" 1>&2; \ exit 1; \ - fi + else :; fi if test -f /usr/local/bin/perl4.036; then \ /usr/local/bin/perl4.036 -c -w automake; \ else :; fi diff --git a/lib/am/Makefile.am b/lib/am/Makefile.am index f6ca533ec..0b78481ec 100644 --- a/lib/am/Makefile.am +++ b/lib/am/Makefile.am @@ -29,10 +29,10 @@ ETAGS_ARGS = automake.in --lang=none \ # These are only really guaranteed to work on my machine. check-local: automake @PERL@ -c -w automake - if grep '^[^#].*true' *.am; then :; else \ + if grep '^[^#].*true' [a-z]*.am; then \ echo "can't use 'true' in GNU Makefile" 1>&2; \ exit 1; \ - fi + else :; fi if test -f /usr/local/bin/perl4.036; then \ /usr/local/bin/perl4.036 -c -w automake; \ else :; fi