* 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 <[EMAIL PROTECTED]>
---
Applying this fix for a test failure on FreeBSD.
Cheers,
Ralf
ChangeLog | 8 ++++++++
tests/nobase-python.test | 8 +++++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a51a6e2..ac0eb1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-04 Ralf Wildenhues <[EMAIL PROTECTED]>
+
+ 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 <[EMAIL PROTECTED]>
Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
diff --git a/tests/nobase-python.test b/tests/nobase-python.test
index f6f284d..28854fe 100755
--- a/tests/nobase-python.test
+++ b/tests/nobase-python.test
@@ -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
--
1.5.5.40.g4cdda