public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/users/vapier/wip] libgloss: doc: unify duplicate copyright/license content
@ 2024-01-02  4:35 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2024-01-02  4:35 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=01f6c45f077705d0b68d56fdbabe56d6583344af

commit 01f6c45f077705d0b68d56fdbabe56d6583344af
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Dec 26 19:53:51 2023 -0500

    libgloss: doc: unify duplicate copyright/license content
    
    Use @copying & @insertcopying directives to define the copyright &
    license block only once, and then inserted at the same places as it
    was before.

Diff:
---
 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 e3c48845d..1f68757be 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

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

only message in thread, other threads:[~2024-01-02  4:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-02  4:35 [newlib-cygwin/users/vapier/wip] libgloss: doc: unify duplicate copyright/license content Michael 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).