From: Ralf Wildenhues Date: Tue, 16 Nov 2010 18:22:10 +0000 (+0100) Subject: tests: avoid '##'-style comments inside recipe commands. X-Git-Tag: v1.11.1b~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3616946d61720db601c70bf986207654d9fde6f1;p=thirdparty%2Fautomake.git tests: avoid '##'-style comments inside recipe commands. * tests/confh.test, tests/confh8.test: Remove double-hash comments from makefile rule commands, they are not part of the Automake API. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 77e12cac7..5ba7777b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-16 Ralf Wildenhues + + tests: avoid '##'-style comments inside recipe commands. + * tests/confh.test, tests/confh8.test: Remove + double-hash comments from makefile rule commands, they + are not part of the Automake API. + 2010-11-14 Ralf Wildenhues tests: work around dash quoting issue in case statements. diff --git a/tests/confh.test b/tests/confh.test index 34674cc14..93badefd6 100755 --- a/tests/confh.test +++ b/tests/confh.test @@ -30,10 +30,10 @@ END cat > Makefile.am << 'END' .PHONY: test1 test2 test1: - @echo DIST_COMMON = $(DIST_COMMON) ## for debugging + @echo DIST_COMMON = $(DIST_COMMON) echo ' ' $(DIST_COMMON) ' ' | grep '[ /]acconfig\.h ' test2: distdir - ls -l $(distdir)/* ## for debugging + ls -l $(distdir)/* test -f $(distdir)/acconfig.h check-local: test1 test2 END diff --git a/tests/confh8.test b/tests/confh8.test index df985ec98..146d2f059 100755 --- a/tests/confh8.test +++ b/tests/confh8.test @@ -29,7 +29,7 @@ END cat > Makefile.am << 'END' .PHONY: test0 test1 test2 test0: - @echo DIST_COMMON = $(DIST_COMMON) ## for debugging + @echo DIST_COMMON = $(DIST_COMMON) echo ' ' $(DIST_COMMON) ' ' | grep '[ /]one\.h\.in ' echo ' ' $(DIST_COMMON) ' ' | grep '[ /]two\.h\.in ' : Processed header files should not be distributed. @@ -42,7 +42,7 @@ test1: all test -f one.h test -f two.h test2: distdir - ls -l $(distdir)/* ## for debugging + ls -l $(distdir)/* test -f $(distdir)/one.h.in test -f $(distdir)/two.h.in : Processed header files should not be distributed.