public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libgloss: doc: unify duplicate copyright/license content
@ 2023-12-27  0:56 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2023-12-27  0:56 UTC (permalink / raw)
  To: newlib

Use @copying & @insertcopying directives to define the copyright &
license block only once, and then inserted at the same places as it
was before.
---
 libgloss/doc/porting.texi | 40 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 23 deletions(-)

diff --git a/libgloss/doc/porting.texi b/libgloss/doc/porting.texi
index e3c48845da37..1f68757be66d 100644
--- a/libgloss/doc/porting.texi
+++ b/libgloss/doc/porting.texi
@@ -18,16 +18,8 @@
 @set automake @ref{Top,,GNU Automake,automake}
 @set libtool @ref{Top,,GNU Libtool,libtool}
 
-@titlepage
-@title Embed With GNU
-@subtitle Porting The GNU Tools To Embedded Systems
-@sp 4
-@subtitle Spring 1995
-@subtitle Very *Rough* Draft
-@author Rob Savoye - Cygnus Support
-@page
-
-@vskip 0pt plus 1filll
+@copying
+@c man begin COPYRIGHT
 Copyright @copyright{} 1993, 1994, 1995 Cygnus Support
 
 Permission is granted to make and distribute verbatim copies of
@@ -41,6 +33,20 @@ permission notice identical to this one.
 
 Permission is granted to copy and distribute translations of this manual
 into another language, under the above conditions for modified versions.
+@c man end
+@end copying
+
+@titlepage
+@title Embed With GNU
+@subtitle Porting The GNU Tools To Embedded Systems
+@sp 4
+@subtitle Spring 1995
+@subtitle Very *Rough* Draft
+@author Rob Savoye - Cygnus Support
+@c Then the copyright page.  This must be a page by itself after the titlepage.
+@page
+@vskip 0pt plus 1filll
+@insertcopying
 @end titlepage
 
 @direntry
@@ -50,19 +56,7 @@ END-INFO-DIR-ENTRY
 @end direntry
 
 @ifnottex
-Copyright (c) 1993, 1994, 1995 Cygnus Support
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided also that
-the entire resulting derived work is distributed under the terms of a
-permission notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions.
+@insertcopying
 
 @node Top
 @top Embed with GNU
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-27  0:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27  0:56 [PATCH] libgloss: doc: unify duplicate copyright/license content Mike Frysinger

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).