public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix warnings from including fdl.texi into gnat-style.texi
@ 2015-02-22 15:36 Tom de Vries
  2015-02-22 18:04 ` Arnaud Charlet
  0 siblings, 1 reply; 11+ messages in thread
From: Tom de Vries @ 2015-02-22 15:36 UTC (permalink / raw)
  To: Arnaud Charlet; +Cc: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

Hi,

While generating gnat-style.info, we see these warnings:
...
src/gcc/doc/include/fdl.texi:33: warning: node `Index' is next for `GNU Free 
Documentation License' in menu but not in sectioning
src/gcc/doc/include/fdl.texi:33: warning: node `Top' is up for `GNU Free 
Documentation License' in menu but not in sectioning
...

Attached patch fixes these.

Ok for stage4?

Thanks,
- Tom

[-- Attachment #2: 0002-Fix-warnings-from-including-fdl.texi-into-gnat-style.patch --]
[-- Type: text/x-patch, Size: 1587 bytes --]

2015-02-22  Tom de Vries  <tom@codesourcery.com>

	PR ada/65102
	* doc/include/fdl.texi: Add nodefaultgnufreedocumentationlicensenode
	ifdef to allow disabling default @node GNU Free Documentation License.

	* gnat-style.texi: Set nodefaultgnufreedocumentationlicensenode and
	define @node and @unnumberedsec GNU Free Documentation License locally.

---
 gcc/ada/gnat-style.texi  | 3 +++
 gcc/doc/include/fdl.texi | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/gcc/ada/gnat-style.texi b/gcc/ada/gnat-style.texi
index 1fa7688..50adaab 100644
--- a/gcc/ada/gnat-style.texi
+++ b/gcc/ada/gnat-style.texi
@@ -937,6 +937,9 @@ except that they are all lower case.
 @c **********************************
 @c * GNU Free Documentation License *
 @c **********************************
+@node GNU Free Documentation License,Index, Program Structure, Top
+@unnumberedsec GNU Free Documentation License
+@set nodefaultgnufreedocumentationlicensenode
 @include fdl.texi
 @c GNU Free Documentation License
 @cindex GNU Free Documentation License
diff --git a/gcc/doc/include/fdl.texi b/gcc/doc/include/fdl.texi
index 8f3d7be..55aa498 100644
--- a/gcc/doc/include/fdl.texi
+++ b/gcc/doc/include/fdl.texi
@@ -30,9 +30,11 @@ of this license document, but changing it is not allowed.
 @end ifset
 @c man begin DESCRIPTION
 @ifclear gfdlhtml
+@ifclear nodefaultgnufreedocumentationlicensenode
 @node GNU Free Documentation License
 @unnumbered GNU Free Documentation License
 @end ifclear
+@end ifclear
 
 @cindex FDL, GNU Free Documentation License
 @center Version 1.3, 3 November 2008
-- 
1.9.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-12-14  8:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22 15:36 [PATCH] Fix warnings from including fdl.texi into gnat-style.texi Tom de Vries
2015-02-22 18:04 ` Arnaud Charlet
2015-03-20 10:11   ` Tom de Vries
2015-03-23 15:00     ` Gerald Pfeifer
2015-06-14 14:13       ` Tom de Vries
2015-08-24 15:18         ` [PING][PATCH] " Tom de Vries
2015-08-24 15:26           ` Arnaud Charlet
2015-12-08  9:13       ` [PATCH] " Tom de Vries
2015-12-08 18:10         ` Gerald Pfeifer
2015-12-08 20:26           ` Mike Stump
2015-12-14  8:37           ` Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).