]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
--cygnus fix
authorTom Tromey <tromey@redhat.com>
Wed, 16 Apr 1997 05:45:31 +0000 (05:45 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Apr 1997 05:45:31 +0000 (05:45 +0000)
ChangeLog
automake.in

index f32d9f8b8d7c3d6aa431d0c77be73b21334c0921..b4f27b45027bd6ea99c2643da6209340efccd770 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Tue Apr 15 12:12:28 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * 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
index 3652c48cc792bd1059af2cb2ed914e26d4a3ac7a..40a57075cbbd0afb35b2e4b5a3ea3045f06578e4 100755 (executable)
@@ -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');