Fix for "make -j 3".
authorBruno Haible <bruno@clisp.org>
Fri, 4 Aug 2006 16:06:01 +0000 (16:06 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Aug 2006 16:06:01 +0000 (16:06 +0000)
ChangeLog
gnulib-tool

index 5fad740..23980d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-04  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Make the mostlyclean-local rule depend on mostlyclean-generic.
+       Reported by Jim Meyering. Solution suggested by Ralf Wildenhues.
+
 2006-07-30  Bruno Haible  <bruno@clisp.org>
 
        * modules/csharpexec (configure.ac): Comment out macro invocation.
index a36809a..58365fd 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-07-31 11:37:23 $'
+cvsdatestamp='$Date: 2006-08-04 16:06:01 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -932,7 +932,7 @@ func_emit_lib_Makefile_am ()
     fi
   done
   echo
-  echo "mostlyclean-local:"
+  echo "mostlyclean-local: mostlyclean-generic"
   echo "       @test -z \"\$(MOSTLYCLEANDIRS)\" || \\"
   echo "         for dir in \$(MOSTLYCLEANDIRS); do \\"
   echo "           if test -d \$\$dir; then \\"
@@ -1012,7 +1012,7 @@ func_emit_tests_Makefile_am ()
   echo "clean-local:"
   echo "       rm -rf SunWS_cache"
   echo
-  echo "mostlyclean-local:"
+  echo "mostlyclean-local: mostlyclean-generic"
   echo "       @test -z \"\$(MOSTLYCLEANDIRS)\" || \\"
   echo "         for dir in \$(MOSTLYCLEANDIRS); do \\"
   echo "           if test -d \$\$dir; then \\"