Fixed check buglet
authorTom Tromey <tromey@redhat.com>
Mon, 1 Jun 1998 20:24:45 +0000 (20:24 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 1 Jun 1998 20:24:45 +0000 (20:24 +0000)
ChangeLog
automake.in

index 9460a6c..cb4983d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun  1 14:23:29 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (do_check_merge_target): Only generate $(MAKE)
+       command if there are check targets to make.
+
 Sun May 17 23:05:55 1998  Tom Tromey  <tromey@cygnus.com>
 
        * aclocal.in (write_aclocal): Fixed generated copyright message.
index cf9bc81..74fb984 100755 (executable)
@@ -3667,8 +3667,11 @@ sub do_check_merge_target
     # @check_tests.  This is done via a separate make invocation to
     # avoid problems with parallel makes.  Every time I write code
     # like this I wonder: how could you invent a parallel make and not
-    # provide any real synchronization facilities?
-    &pretty_print_rule ("\t\$(MAKE)", "\t  ", @check_tests);
+    # provide any real synchronization facilities?  The official
+    # answer is that you can push the dependencies out to the leaves
+    # of the dependency tree.  That seems fairly gross to me.
+    &pretty_print_rule ("\t\$(MAKE)", "\t  ", @check_tests)
+       if @check_tests;
 }
 
 # Handle all 'clean' targets.