From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050:0:465::202]) by sourceware.org (Postfix) with ESMTPS id A7BD13858C5E for ; Thu, 23 Feb 2023 10:29:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A7BD13858C5E Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4PMq5p3NSnz9sTm; Thu, 23 Feb 2023 11:29:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1677148190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zZs3OsqWMxTtr1FjnUaQ39ZmsQ5fH5QFdWL8wbWIa9s=; b=sanjXhBQUFPnx/QkUjBxTL9NyVrWBXL0shT2LMByg4/InxWu6Cw4QGWAQba/+SiZT9juZP MVxjbIYPVcDu3ECGJ1j0HmPkm90wcLNYqZhwdvonKeVpGCGqD0IgAXbbsR3sqh/jcIsMtL G8iAJLS1s13jizy4V7LZb5HW2TYHnLxk8EcGcMFSJWO8/YQ5s3Qno4n8CGTIgxpSXn1btZ ZwoTN3AK3YaRHO8tLzDnmVKgQhv++sDwfuK3+q7Ci6BvTd77P2cDuZCxtvLE/sDA04Jh/9 pjUY9b3kBk4hTKVR8WiKdohbfONumSfHFFNDOPUhIWOG4lkiLNS8SVi7g5q68g== From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= To: gcc-patches@gcc.gnu.org Cc: Gerald Pfeifer , Joseph Myers , Sandra Loosemore , =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Subject: [PATCH v2 1/5] docs: Create Indices appendix Date: Thu, 23 Feb 2023 11:27:10 +0100 Message-Id: <20230223102714.3606058-2-arsen@aarsen.me> In-Reply-To: <20230223102714.3606058-1-arsen@aarsen.me> References: <20230223102714.3606058-1-arsen@aarsen.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PMq5p3NSnz9sTm X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The GCC manual has multiple indices. By creating an appendix which lists them, we help makeinfo present a more accessible way for the reader to see all the indices. gcc/ChangeLog: * doc/gcc.texi: Add the Indices appendix, to make texinfo generate nice indices overview page. (@copying): Move "This file documents the use of the GNU compilers" into @copying. Add quotations around cover texts. --- gcc/doc/gcc.texi | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi index 7019365429d..bc7cc6e6743 100644 --- a/gcc/doc/gcc.texi +++ b/gcc/doc/gcc.texi @@ -40,6 +40,9 @@ @c %**end of header @copying +This file documents the use of the GNU compilers. + +@quotation Copyright @copyright{} 1988-2023 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -59,6 +62,7 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development. +@end quotation @end copying @ifnottex @dircategory Software development @@ -71,7 +75,6 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) * lto-dump: (gcc) lto-dump. @command{lto-dump}---Tool for dumping LTO object files. @end direntry -This file documents the use of the GNU compilers. @sp 1 @insertcopying @sp 1 @@ -159,8 +162,7 @@ object files. * GNU Free Documentation License:: How you can copy and share this manual. * Contributors:: People who have contributed to GCC. -* Option Index:: Index to command line options. -* Keyword Index:: Index of concepts and symbol names. +* Indices:: List of indices in this manual. @end menu @include frontends.texi @@ -196,19 +198,28 @@ object files. @c Indexes @c --------------------------------------------------------------------- +@node Indices +@appendix Indices + +@menu +* Option Index:: Index to command line options. +* Concept and Symbol Index:: Index of concepts and symbols names. +@end menu + @node Option Index -@unnumbered Option Index +@appendixsec Option Index -GCC's command line options are indexed here without any initial @samp{-} -or @samp{--}. Where an option has both positive and negative forms -(such as @option{-f@var{option}} and @option{-fno-@var{option}}), -relevant entries in the manual are indexed under the most appropriate -form; it may sometimes be useful to look up both forms. +GCC's command line options are indexed here without any initial +@samp{-} or @samp{--}. Where an option has both positive and negative +forms (such as @option{-f@var{option}} and +@option{-fno-@var{option}}), relevant entries in the manual are +indexed under the most appropriate form; it may sometimes be useful to +look up both forms. @printindex op -@node Keyword Index -@unnumbered Keyword Index +@node Concept and Symbol Index +@appendixsec Concept and Symbol Index @printindex cp -- 2.39.2