From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 999BC3858C33; Tue, 23 Jan 2024 02:58:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 999BC3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705978714; bh=YzBztbqnsc8wXi7vh6p9Y3gOF5Zo62UOv/kABvYeoHI=; h=From:To:Subject:Date:From; b=pN0pr0kjnH4xKBeLeDy3LPvfusqVbDWv24ZR+zDWLERk5NQ6DdlD1IT8bcHOCDDfv LNJSFjIP5u34Y/9fYvyHFH4vWwZFuvNNUnaTQdvXNr0cU5zO3m/RgovrjeIXzK0F0K SwUnaN2h18pBqMX3yYmbqTcHjezIZzTR9HAGSuWI= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] libgloss: doc: unify duplicate copyright/license content X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/main X-Git-Oldrev: fd4e96f1afe74daf9c041d651a217e0616f1dc9e X-Git-Newrev: 5a8c23a73abe731846b254284651cdf54cee1131 Message-Id: <20240123025834.999BC3858C33@sourceware.org> Date: Tue, 23 Jan 2024 02:58:34 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D5a8c23a73ab= e731846b254284651cdf54cee1131 commit 5a8c23a73abe731846b254284651cdf54cee1131 Author: Mike Frysinger Date: Tue Dec 26 19:53:51 2023 -0500 libgloss: doc: unify duplicate copyright/license content =20 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} =20 -@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 =20 Permission is granted to make and distribute verbatim copies of @@ -41,6 +33,20 @@ permission notice identical to this one. =20 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 title= page. +@page +@vskip 0pt plus 1filll +@insertcopying @end titlepage =20 @direntry @@ -50,19 +56,7 @@ END-INFO-DIR-ENTRY @end direntry =20 @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 =20 @node Top @top Embed with GNU