From: Ralf Wildenhues Date: Thu, 4 Sep 2008 19:52:29 +0000 (+0200) Subject: Fix nobase-python.test for BSD make. X-Git-Tag: v1.10b~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d84fa05fd62dc47f8cec378ebd9e2c21ddc92c;p=thirdparty%2Fautomake.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index a51a6e271..ac0eb1ada 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-09-04 Ralf Wildenhues + + 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 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]). diff --git a/tests/nobase-python.test b/tests/nobase-python.test index f6f284d9b..28854fe6e 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