X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=gnulib-tool;h=83d6528d445094231f450b963ea8a79d660f9fb5;hb=3667f8e75409ce7df7bc3f561ddd8d03d5be39f2;hp=a705f23a6a5a6d3acd30a6f0d02343d4378e225c;hpb=10e4e6d96d32fef84d7fe2e264160bb4d9c09b05;p=gnulib.git diff --git a/gnulib-tool b/gnulib-tool index a705f23a6..83d6528d4 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2006-10-20 13:42:39 $' +cvsdatestamp='$Date: 2006-10-23 11:25:20 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -1214,12 +1214,11 @@ func_emit_lib_Makefile_am () cat allsnippets.tmp echo echo "mostlyclean-local: mostlyclean-generic" - echo " @test -z \"\$(MOSTLYCLEANDIRS)\" || \\" - echo " for dir in \$(MOSTLYCLEANDIRS); do \\" - echo " if test -d \$\$dir; then \\" - echo " echo \"rmdir \$\$dir\"; rmdir \$\$dir; \\" - echo " fi; \\" - echo " done" + echo " @for dir in '' \$(MOSTLYCLEANDIRS); do \\" + echo " if test -n \"\$\$dir\" && test -d \$\$dir; then \\" + echo " echo \"rmdir \$\$dir\"; rmdir \$\$dir; \\" + echo " fi; \\" + echo " done" rm -f allsnippets.tmp } @@ -1317,12 +1316,11 @@ func_emit_tests_Makefile_am () echo " rm -rf SunWS_cache" echo echo "mostlyclean-local: mostlyclean-generic" - echo " @test -z \"\$(MOSTLYCLEANDIRS)\" || \\" - echo " for dir in \$(MOSTLYCLEANDIRS); do \\" - echo " if test -d \$\$dir; then \\" - echo " echo \"rmdir \$\$dir\"; rmdir \$\$dir; \\" - echo " fi; \\" - echo " done" + echo " @for dir in '' \$(MOSTLYCLEANDIRS); do \\" + echo " if test -n \"\$\$dir\" && test -d \$\$dir; then \\" + echo " echo \"rmdir \$\$dir\"; rmdir \$\$dir; \\" + echo " fi; \\" + echo " done" rm -f allsnippets.tmp }