bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool tweaks


From: Bruno Haible
Subject: gnulib-tool tweaks
Date: Mon, 17 Oct 2005 12:25:29 +0200
User-agent: KMail/1.5

Hi,

I committed these small tweaks to gnulib-tool:

2005-10-16  Bruno Haible  <address@hidden>

        * 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.

*** gnulib-20050919/gnulib-tool.bak     2005-09-20 13:48:16.000000000 +0200
--- gnulib-20050919/gnulib-tool 2005-10-16 22:41:24.000000000 +0200
***************
*** 725,730 ****
--- 725,731 ----
    echo "ACLOCAL_AMFLAGS = -I ${testsbase_inverse}/${m4base}"
    echo
    echo "TESTS ="
+   echo "TESTS_ENVIRONMENT ="
    echo "noinst_PROGRAMS ="
    echo "EXTRA_DIST ="
    echo "BUILT_SOURCES ="
***************
*** 1517,1523 ****
         cd lib
         built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 
's/^BUILT_SOURCES *=//'`
         if test -n "$built_sources"; then
!          make $built_sources
         fi
         cd ..
       make distclean
--- 1518,1525 ----
         cd lib
         built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 
's/^BUILT_SOURCES *=//'`
         if test -n "$built_sources"; then
!          echo 'built_sources: $(BUILT_SOURCES)' >> Makefile
!          make built_sources
         fi
         cd ..
       make distclean





reply via email to

[Prev in Thread] Current Thread [Next in Thread]