From: Bruno Haible Date: Mon, 17 Oct 2005 10:27:37 +0000 (+0000) Subject: Small tweaks. X-Git-Tag: cvs-readonly~2806 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=24092f4d7960804aa7c0e121248a2c8e02f99678;p=gnulib.git Small tweaks. --- diff --git a/ChangeLog b/ChangeLog index 61bfee828..c1a468542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-10-16 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Also define + TESTS_ENVIRONMENT, so that individual tests can augment it. + + * gnulib-tool (func_create_testdir): Use an intermediate target for + building $(BUILT_SOURCES). Needed because BUILT_SOURCES can contain + macros, like $(ALLOCA_H), which cannot be passed through the command + line. + 2005-10-15 Simon Josefsson * modules/rijndael-tests: New file. diff --git a/gnulib-tool b/gnulib-tool index 8cf563eb7..8da22f7f9 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-09-20 11:48:17 $' +cvsdatestamp='$Date: 2005-10-17 10:27:37 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -725,6 +725,7 @@ func_emit_tests_Makefile_am () echo "ACLOCAL_AMFLAGS = -I ${testsbase_inverse}/${m4base}" echo echo "TESTS =" + echo "TESTS_ENVIRONMENT =" echo "noinst_PROGRAMS =" echo "EXTRA_DIST =" echo "BUILT_SOURCES =" @@ -1517,7 +1518,8 @@ func_create_testdir () cd lib built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 's/^BUILT_SOURCES *=//'` if test -n "$built_sources"; then - make $built_sources + echo 'built_sources: $(BUILT_SOURCES)' >> Makefile + make built_sources fi cd .. make distclean