From: Akim Demaille Date: Mon, 9 Apr 2001 09:45:01 +0000 (+0000) Subject: * tests/yacc2.test: Don't define several times a variable, as X-Git-Tag: handle-languages~108 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ef31f6d3ff245ab9a508e6fdf5471107a69b3631;p=automake.git * tests/yacc2.test: Don't define several times a variable, as automake complains. --- diff --git a/ChangeLog b/ChangeLog index 8583dcce..436fddc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-09 Akim Demaille + + * tests/yacc2.test: Don't define several times a variable, as + automake complains. + 2001-04-09 Akim Demaille * automake.in (&handle_source_transform): Fix pr72: don't define diff --git a/tests/yacc2.test b/tests/yacc2.test index e6f319ed..9e71d86f 100755 --- a/tests/yacc2.test +++ b/tests/yacc2.test @@ -15,11 +15,20 @@ bin_PROGRAMS = zardoz zardoz_SOURCES = zardoz.y END +# Don't redefine several times the same variable. +cp Makefile.am Makefile.src + + + + $AUTOMAKE || exit 1 # If zardoz.h IS mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + + +cp Makefile.src Makefile.am echo 'AM_YFLAGS = -d' >> Makefile.am $AUTOMAKE || exit 1 @@ -27,6 +36,9 @@ $AUTOMAKE || exit 1 # If zardoz.h is NOT mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + + +cp Makefile.src Makefile.am echo 'AM_YFLAGS = ' >> Makefile.am $AUTOMAKE || exit 1 @@ -34,6 +46,9 @@ $AUTOMAKE || exit 1 # If zardoz.h IS mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + + +cp Makefile.src Makefile.am echo 'YFLAGS = -d' >> Makefile.am $AUTOMAKE || exit 1 @@ -41,6 +56,9 @@ $AUTOMAKE || exit 1 # If zardoz.h is NOT mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + + +cp Makefile.src Makefile.am echo 'YFLAGS = ' >> Makefile.am $AUTOMAKE || exit 1