From: Tom Tromey Date: Wed, 16 Apr 1997 05:45:31 +0000 (+0000) Subject: --cygnus fix X-Git-Tag: pre-ian-conditionals~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5c08173494c148a8d524201d9ce95b5d93ea07d;p=thirdparty%2Fautomake.git --cygnus fix --- diff --git a/ChangeLog b/ChangeLog index f32d9f8b8..b4f27b450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Apr 15 12:12:28 1997 Tom Tromey + * automake.in (handle_texinfo): In --cygnus mode, reserve + clean-info for the user. + * automake.in (handle_subdirs): Typo fix. From Akim Demaille. * automake.in (handle_tags): Only use SUBDIRS if it is actually diff --git a/automake.in b/automake.in index 3652c48cc..40a57075c 100755 --- a/automake.in +++ b/automake.in @@ -1941,14 +1941,19 @@ sub handle_texinfo push (@phony, 'install-info-am', 'uninstall-info'); push (@dist_targets, 'dist-info'); - # How to clean. - $output_rules .= "\nmostlyclean-info:\n"; + # How to clean. The funny name is due to --cygnus influence; in + # Cygnus mode, `clean-info' is a target that users can use. + $output_rules .= "\nmostlyclean-aminfo:\n"; &pretty_print_rule ("\trm -f", "\t ", @texi_cleans); - $output_rules .= ("\nclean-info:\n\ndistclean-info:\n\n" - . "maintainer-clean-info:\n\t" + $output_rules .= ("\nclean-aminfo:\n\ndistclean-aminfo:\n\n" + . "maintainer-clean-aminfo:\n\t" . 'for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done' . "\n"); - &push_phony_cleaners ('info'); + &push_phony_cleaners ('aminfo'); + if ($cygnus_mode) + { + $output_rules .= "clean-info: mostlyclean-info\n"; + } push (@suffixes, '.texi', '.texinfo', '.info', '.dvi', '.ps');