diff gnulib-tool @ 7246:4a748ab30907

* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in yesterday's patch by changing test -n to test -z.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 01 Sep 2006 15:17:11 +0000
parents 138333fc7a90
children 0711af35cc60
line wrap: on
line diff
--- a/gnulib-tool	Fri Sep 01 11:57:26 2006 +0000
+++ b/gnulib-tool	Fri Sep 01 15:17:11 2006 +0000
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-09-01 11:57:26 $'
+cvsdatestamp='$Date: 2006-09-01 15:17:11 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1053,7 +1053,7 @@
     echo "# Reproduce by: $actioncmd"
   fi
   echo
-  if test -n "$makefile_name"; then
+  if test -z "$makefile_name"; then
     # No need to generate dependencies since the sources are in gnulib, not here.
     echo "AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies"
   fi
@@ -1096,7 +1096,7 @@
   echo
   echo "${libname}_${libext}_SOURCES ="
   echo "${libname}_${libext}_LIBADD = @${perhapsLT}LIBOBJS@"
-  if test -n "$makefile_name"; then
+  if test -z "$makefile_name"; then
     echo "noinst_HEADERS ="
     if grep '^pkgdata_DATA *+=' allsnippets.tmp > /dev/null; then
       echo "pkgdata_DATA ="
@@ -1106,7 +1106,7 @@
     echo "SUFFIXES ="
   fi
   echo "MOSTLYCLEANFILES $assign core *.stackdump"
-  if test -n "$makefile_name"; then
+  if test -z "$makefile_name"; then
     echo "MOSTLYCLEANDIRS ="
     echo "CLEANFILES ="
     echo "DISTCLEANFILES ="