From: Tom Tromey Date: Sat, 2 Aug 1997 20:17:03 +0000 (+0000) Subject: when --cygnus, check does not depend on all X-Git-Tag: Release-1-2b~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a9a0e27ec74bed0f9f36196c3a82a935db0bb87;p=thirdparty%2Fautomake.git when --cygnus, check does not depend on all --- diff --git a/ChangeLog b/ChangeLog index b8b709313..3e66a0a12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Sat Aug 2 13:32:45 1997 Tom Tromey + * 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. diff --git a/automake.in b/automake.in index a032630de..4eb58143c 100755 --- a/automake.in +++ b/automake.in @@ -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', diff --git a/automake.texi b/automake.texi index c26a2f716..3e3407c89 100644 --- a/automake.texi +++ b/automake.texi @@ -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