I found one bug about the `mostlyclean' target. The bug occurs when,
in a Texinfo manual, you combine multiple indices into one index, but
you don't use the command for this index at all. For example:

@syncodeindex fn cp
@deffn FOO BAR
@printindex cp

In the case above, the `mostlyclean' target should clean
[something].cps, but automake doesn't produce that name in
Makefile.in.

So, here is a patch.

diff -urN automake-1.4h.orig/ChangeLog automake-1.4h/ChangeLog
--- automake-1.4h.orig/ChangeLog        Wed Jul  4 12:43:17 2001
+++ automake-1.4h/ChangeLog     Wed Jul  4 16:13:11 2001
@@ -1,3 +1,9 @@
+2001-07-04  OKUJI Yoshinori  <[EMAIL PROTECTED]>
+
+       * automake.in (scan_texinfo_file): Add the second argument to
+       `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
+       itself may not be used directly.
+       
 2001-07-03  Tom Tromey  <[EMAIL PROTECTED]>
 
        * configure.in: Released 1.4h.
diff -urN automake-1.4h.orig/automake.in automake-1.4h/automake.in
--- automake-1.4h.orig/automake.in      Tue Jul  3 13:12:09 2001
+++ automake-1.4h/automake.in   Wed Jul  4 15:22:31 2001
@@ -2896,9 +2896,10 @@
       }
 
       # Merging an index into an another.
-      elsif (/^\@syn(code)?index (\w+) \w+/)
+      elsif (/^\@syn(code)?index (\w+) (\w+)/)
       {
        push @syncodeindexes, "$2s";
+       push @clean_suffixes, "$3s";
       }
 
     }


Regards,
Okuji

Reply via email to