Simplification, from Stepan Kasal.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Oct 2005 15:44:51 +0000 (15:44 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 17 Oct 2005 15:44:51 +0000 (15:44 +0000)
ChangeLog
gnulib-tool

index 93a5f525e530bcb040c7b0da5476d2482fa641a7..2afb324de5dad669026f6144e7a32b89024c8e26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-17  Stepan Kasal  <kasal@ucw.cz>
+
+       * gnulib-tool (func_create_testdir): Omit the second check whether
+       BUILT_SOURCES in nonempty.
+
 2005-10-17  Simon Josefsson  <jas@extundo.com>
 
        * modules/gc-sha1-tests: New file.
index 8da22f7f9c286cf923e5846537ad0b8649e8d2aa..971843f7d6cd18d09f40ce69ed84c97ac33e3879 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2005-10-17 10:27:37 $'
+cvsdatestamp='$Date: 2005-10-17 15:44:51 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1516,11 +1516,8 @@ func_create_testdir ()
     (cd "$testdir"
      ./configure
        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
+       echo 'built_sources: $(BUILT_SOURCES)' >> Makefile
+       make built_sources
        cd ..
      make distclean
     )