* tests/yacc2.test: Don't define several times a variable, as
authorAkim Demaille <akim@epita.fr>
Mon, 9 Apr 2001 09:45:02 +0000 (09:45 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 9 Apr 2001 09:45:02 +0000 (09:45 +0000)
automake complains.

ChangeLog
tests/yacc2.test

index 8583dcc..436fddc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2001-04-09  Akim Demaille  <akim@epita.fr>
 
+       * tests/yacc2.test: Don't define several times a variable, as
+       automake complains.
+
+2001-04-09  Akim Demaille  <akim@epita.fr>
+
        * automake.in (&handle_source_transform): Fix pr72: don't define
        $linker if there are no @files.
 
index e6f319e..9e71d86 100755 (executable)
@@ -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