changeset 6389:c1766dccfd4f

Simplification, from Stepan Kasal.
author Bruno Haible <bruno@clisp.org>
date Mon, 17 Oct 2005 15:44:51 +0000
parents f5c12a352291
children 8e5f43169a9f
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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 @@
     (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
     )