* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2006 15:17:11 +0000 (15:17 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Sep 2006 15:17:11 +0000 (15:17 +0000)
yesterday's patch by changing test -n to test -z.

ChangeLog
gnulib-tool

index 80e8a33..4402bcf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
+       yesterday's patch by changing test -n to test -z.
+
 2006-08-31  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (nl): Remove variable.
index 6551dbf..06f0458 100755 (executable)
@@ -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 @@ func_emit_lib_Makefile_am ()
     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 @@ func_emit_lib_Makefile_am ()
   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 @@ func_emit_lib_Makefile_am ()
     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 ="