]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix nobase-python.test for BSD make.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 4 Sep 2008 19:52:29 +0000 (21:52 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 4 Sep 2008 19:52:29 +0000 (21:52 +0200)
* tests/nobase-python.test: Listing a dependency to be found
via VPATH search explicitly, without the path, as a target,
will turn off VPATH search for FreeBSD make.  So move the
creation of the files outside of the Makefile.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/nobase-python.test

index a51a6e271104540fdcae063650ce31e551f16931..ac0eb1ada3ee50421f6f223b344cbdb5cbd13e2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix nobase-python.test for BSD make.
+       * tests/nobase-python.test: Listing a dependency to be found
+       via VPATH search explicitly, without the path, as a target,
+       will turn off VPATH search for FreeBSD make.  So move the
+       creation of the files outside of the Makefile.
+
 2008-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
index f6f284d9b0a33a2fc89acf0ceaf5982cdb9ea72e..28854fe6e3e804d1c7308700eb60b4f97c715c3d 100755 (executable)
@@ -31,9 +31,6 @@ mydir=$(prefix)/my
 my_PYTHON = one.py sub/base.py
 nobase_my_PYTHON = two.py sub/nobase.py
 
-one.py sub/base.py two.py sub/nobase.py:
-       echo 'def one(): return 1' >$@
-
 test-install-data: install-data
        test   -f inst/my/one.py
        test   -f inst/my/one.pyc
@@ -49,6 +46,11 @@ END
 
 mkdir sub
 
+for file in one.py sub/base.py two.py sub/nobase.py
+do
+  echo 'def one(): return 1' >$file
+done
+
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing