From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by sourceware.org (Postfix) with ESMTPS id CA68E3858D28 for ; Fri, 27 Jan 2023 00:32:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA68E3858D28 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 smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (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-101.mailbox.org (Postfix) with ESMTPS id 4P2z6n0rGwz9sSj; Fri, 27 Jan 2023 01:32:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1674779537; 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=byMmrfLeaBllWjJijv565r4JQfV05dOoE7yHxlsnpJE=; b=wuOuOjvrLj49WYD+NjwVhoL5inFOiWwkzGYAw81yowiywkPbEoL9yCm7ysXCvfkmJrDZ2Y 6rYc/xOia/s7kargeB6Ds2hiKhQsGLbKyLyql/2ZRj4ZhJ7bsymbEDk3MxoLwA75aDnGPw DUCA2hbqetqy5vJYf23reaJ1mF2y5DFNYZ754iJNW4L4oKIsPZp9pVR9w8Y5H/hLY/t/JG 05sh9L1ye7RBmOx5P6J6xzuTddp2LNgMCHccPrRJ07ten1L8/Ytxur1hewpyrZHGcqY1rc AXLe7DiB9lRtlVZ6InWqelG52CS5OWYZveynNaJK9xM4qp/geiwGi+N4yJCbNA== From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= To: gcc-patches@gcc.gnu.org Cc: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Subject: [PATCH 1/7] docs: Create Indices appendix Date: Fri, 27 Jan 2023 01:18:29 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 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: 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 copying. --- 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.1