]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in (scan_texinfo_file): Treat @defindex and @synindex
authorPavel Roskin <proski@gnu.org>
Sun, 6 May 2001 06:17:03 +0000 (06:17 +0000)
committerPavel Roskin <proski@gnu.org>
Sun, 6 May 2001 06:17:03 +0000 (06:17 +0000)
in the same way as @defcodeindex and @syncodeindex respectively.

ChangeLog
automake.in

index 48f4f618f595c605d97c65c52240d3b7b21895f1..9cfbbe05f110ffebf6d2649bea498bcd4ef7102e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-05  Pavel Roskin <proski@gnu.org>
+
+       * automake.in (scan_texinfo_file): Treat @defindex and @synindex
+       in the same way as @defcodeindex and @syncodeindex respectively.
+
 2001-05-05  Tom Tromey  <tromey@redhat.com>
 
        * mans.am (install-man%SECTION%): Minor cleanup.
index f30157aa20b01cf0e6d0ac624e3acbaec3ba6755..d3e423999630af92dfe16263cbe00b5f8c767199 100755 (executable)
@@ -2601,9 +2601,9 @@ sub scan_texinfo_file
       # Try to find what are the indexes which are used.
 
       # Creating a new category of index.
-      elsif (/^\@defcodeindex (\w+)/)
+      elsif (/^\@def(code)?index (\w+)/)
       {
-        push @clean_suffixes, $1;
+        push @clean_suffixes, $2;
       }
 
       # Storing in a predefined index.
@@ -2618,9 +2618,9 @@ sub scan_texinfo_file
       }
 
       # Merging an index into an another.
-      elsif (/^\@syncodeindex (\w+) \w+/)
+      elsif (/^\@syn(code)?index (\w+) \w+/)
       {
-       push @syncodeindexes, "$1s";
+       push @syncodeindexes, "$2s";
       }
 
     }