Re: [PATCH, doc]: Rename Index node to prevent file collision

Eli Zaretskii
2012-07-12T07:57:34Z

> From: "Terry Guo" <terry.guo@arm.com>
> Cc: <brobecker@adacore.com>,
> <joseph@codesourcery.com>,
> <gdb-patches@sourceware.org>,
> "'Michael Hope'" <michael.hope@linaro.org>
> Date: Wed, 11 Jul 2012 13:14:59 +0800
>
> Hi Eli,
>
> When "make html" for gdbint.texi on case-insensitive Mac OS X, we still meet
> index.html and Index.html issue. Could you please also apply same fix to
> gdbint.texi? Thanks.

Done with the patch below.

2012-07-12 Eli Zaretskii <eliz@gnu.org>

* gdbint.texinfo: Remove @syncodeindex directives that put all the
indices into a single node "Index". Instead, join function and
variable indices into a single index, separate from the concept
index. Requested in
http://sourceware.org/ml/gdb-patches/2012-07/msg00146.html.
(Top): Update the top-level menu: instead of one "Index" there are
now separate entries "Concept Index" and "Function and Variable
Index".
(Concept Index, Function and Variable Index): New nodes.
(Index): Node deleted.

Index: gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.338
diff -u -r1.338 gdbint.texinfo
--- gdbint.texinfo 15 Jun 2012 09:21:36 -0000 1.338
+++ gdbint.texinfo 12 Jul 2012 07:55:15 -0000
@@ -28,9 +28,7 @@
@insertcopying
@end ifnottex

-
-@syncodeindex fn cp
-@syncodeindex vr cp
+@syncodeindex vr fn

@titlepage
@title @value{GDBN} Internals
@@ -93,7 +91,8 @@

* GDB Observers:: @value{GDBN} Currently available observers
* GNU Free Documentation License:: The license for this documentation
-* Index::
+* Concept Index::
+* Function and Variable Index::
@end menu

@node Summary
@@ -8132,9 +8131,14 @@
@appendix GNU Free Documentation License
@include fdl.texi

-@node Index
-@unnumbered Index
+@node Concept Index
+@unnumbered Concept Index

@printindex cp

+@node Function and Variable Index
+@unnumbered Function and Variable Index
+
+@printindex fn
+
@bye