]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
when --cygnus, check does not depend on all
authorTom Tromey <tromey@redhat.com>
Sat, 2 Aug 1997 20:17:03 +0000 (20:17 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 2 Aug 1997 20:17:03 +0000 (20:17 +0000)
ChangeLog
automake.in
automake.texi

index b8b709313f0288ea1653b7309af159dd9973a6ae..3e66a0a12d988f015326dc0165e9b1d78ef99f44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Sat Aug  2 13:32:45 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (do_check_merge_target): In --cygnus mode, check
+       doesn't depend on all.
+
        * automake.in (output_yacc_build_rule): Use YACCFLAGS, not
        YFLAGS.  Per GNU Standards.
 
index a032630de4ff58eb4b056cd0c8ff3082dbc1e042..4eb58143c45936a6f9da4ec9c9b428aa85b2c5a3 100755 (executable)
@@ -3494,19 +3494,23 @@ sub do_check_merge_target
        push (@phony, 'check-local');
     }
 
-    if (! &variable_defined ('SUBDIRS'))
+    # In --cygnus mode, check doesn't depend on all.
+    if (! $cygnus_mode)
     {
-       # 'check' must depend on `all', but not when doing recursive
-       # build.
-       unshift (@check, 'all');
-    }
-    else
-    {
-       # When subdirs are used, do the `all' build and then do all
-       # the recursive stuff.  Actually use `all-am' because it
-       # doesn't recurse; we rely on the check target in the subdirs
-       # to do the required builds there.
-       unshift (@check, 'all-am');
+       if (! &variable_defined ('SUBDIRS'))
+       {
+           # 'check' must depend on `all', but not when doing
+           # recursive build.
+           unshift (@check, 'all');
+       }
+       else
+       {
+           # When subdirs are used, do the `all' build and then do
+           # all the recursive stuff.  Actually use `all-am' because
+           # it doesn't recurse; we rely on the check target in the
+           # subdirs to do the required builds there.
+           unshift (@check, 'all-am');
+       }
     }
 
     # The check target must depend on the local equivalent of `all',
index c26a2f71648e70f11f61bcc0365a5164e671ad2c..3e3407c89a6aff23cba947f695d576175352155f 100644 (file)
@@ -2437,6 +2437,9 @@ implied.
 @item
 The macros @samp{AM_MAINTAINER_MODE} and @samp{AM_CYGWIN32} are
 required.
+
+@item
+The @code{check} target doesn't depend on @code{all}.
 @end itemize
 
 GNU maintainers are advised to use @samp{gnu} strictness in preference