From: Tom Tromey Date: Sun, 10 Jan 1999 18:00:35 +0000 (+0000) Subject: * all.test: Test all *-local targets, not just all-local. X-Git-Tag: Release-1-4~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b14d020ad0d80547d5cb7278f1897d8f53fd84d;p=thirdparty%2Fautomake.git * all.test: Test all *-local targets, not just all-local. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 542c0367a..29f659485 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,7 @@ 1999-01-10 Tom Tromey + * all.test: Test all *-local targets, not just all-local. + * all.test: New file. * Makefile.am (TESTS): Added all.test. diff --git a/tests/all.test b/tests/all.test index a5206cfd2..61e129282 100755 --- a/tests/all.test +++ b/tests/all.test @@ -1,14 +1,15 @@ #! /bin/sh -# Test to make sure all-local works correctly. +# Test to make sure all-local and other -local targets work correctly. . $srcdir/defs || exit 1 -cat > Makefile.am << 'END' -all-local: - @echo foo -END +for target in all install-exec install-data uninstall; do + echo "Doing $target" + echo "${target}-local:" > Makefile.am -$AUTOMAKE || exit 1 -grep 'all-local all-local' Makefile.in && exit 1 + $AUTOMAKE || exit 1 + + fgrep "${target}-local ${target}-local" Makefile.in && exit 1 +done exit 0