From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 20BF43858404; Tue, 2 Jan 2024 04:35:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20BF43858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704170129; bh=Ab5ESFzAjINei+IP/64JWTj1DZixEdgVile1ml4378E=; h=From:To:Subject:Date:From; b=EsBNHfw0WCMQWdSy+iLQjGhHGJpbZbohSF0n4N9XQ9DDOzpPbPyb6WQdoj7GT2KzJ GYQ3fgdd7LBnSKps39auMBuR+RyH+769rXEGVovX9cO+nfuwA4F7FcVLjwRk0uEQfB L6clEaAibfVWss+qgnoZoUxksedCMc/rUbyM0zwk= 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/users/vapier/wip] libgloss: doc: unify duplicate copyright/license content X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/users/vapier/wip X-Git-Oldrev: acbd70eab3ae45708cd67ee62577f59c9c5feb73 X-Git-Newrev: 01f6c45f077705d0b68d56fdbabe56d6583344af Message-Id: <20240102043529.20BF43858404@sourceware.org> Date: Tue, 2 Jan 2024 04:35:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D01f6c45f077= 705d0b68d56fdbabe56d6583344af commit 01f6c45f077705d0b68d56fdbabe56d6583344af 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