From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 04A4C3858431 for ; Thu, 16 Mar 2023 23:22:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04A4C3858431 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 073FD33E6F; Thu, 16 Mar 2023 19:22:36 -0400 (EDT) Received: from [192.168.1.80] (188-23-63-229.adsl.highway.telekom.at [188.23.63.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 411D933E6B; Thu, 16 Mar 2023 19:22:35 -0400 (EDT) Date: Fri, 17 Mar 2023 00:22:33 +0100 (CET) From: Gerald Pfeifer To: Gaius Mulley cc: gcc-patches@gcc.gnu.org, Richard Guenther , Jakub Jelinek Subject: Re: [wwwdocs] document modula-2 in gcc-13/changes.html (and index.html) In-Reply-To: <87pm99b96l.fsf@debian> Message-ID: <3cb001e9-ed1e-4a0c-4db8-9bc7e8bc9539@pfeifer.com> References: <87lelels1w.fsf@debian> <8bb9f1fc-95e8-ebe4-3d87-b3ec28c99add@pfeifer.com> <87bkm7xdda.fsf@debian> <06a0d2f2-eb63-82b3-bcd9-b211b39ffed3@pfeifer.com> <87pm99b96l.fsf@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.11 on 209.68.5.143 X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_BARRACUDACENTRAL,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: On Thu, 16 Mar 2023, Gaius Mulley wrote: >> Does maintainer-scripts/update_web_docs_git require an update to cover >> Modula-2 and actually build the manual we are now linking to > Apologies I was going to ask about these links. I've updated the m2 > subtree with target documentation independent sections. Attached is a > proposed patch for maintainer-scripts/update_web_docs_git feel free to > apply or adapt in any way. I sorted the special casing alphabetically and pushed the updated patch below. Then I updated the script on gcc.gnu.org and did a testrun. Indeed Modula 2 manuals are now available below https://gcc.gnu.org/onlinedocs/ just the links from that page are off (referring to m2 instead of gm2). I'll fix that next. Gerald commit fa4d0ab533cc2bc9cb6f512b3d4bd0bbc01ee797 Author: Gaius Mulley Date: Fri Mar 17 00:08:20 2023 +0100 maintainer-scripts: Add Modula-2 manual to update_web_docs_git maintainer-scripts/ChangeLog: * update_web_docs_git (MANUALS): Add gm2. Add include path for gm2 manual. diff --git a/maintainer-scripts/update_web_docs_git b/maintainer-scripts/update_web_docs_git index 1c6a993cafd..4bb4897bf35 100755 --- a/maintainer-scripts/update_web_docs_git +++ b/maintainer-scripts/update_web_docs_git @@ -24,6 +24,7 @@ MANUALS="cpp gdc gfortran gfc-internals + gm2 gnat_ugn gnat-style gnat_rm @@ -167,7 +168,10 @@ for file in $MANUALS; do filename=`find . -name ${file}.texi` if [ "${filename}" ]; then includes="-I ${includedir} -I `dirname ${filename}`" - if [ "$file" = "gnat_ugn" ]; then + if [ "$file" = "gm2" ]; then + includes="$includes -I gcc/gcc/m2/target-independent" + includes="$includes -I gcc/gcc/m2/target-independent/m2" + elif [ "$file" = "gnat_ugn" ]; then includes="$includes -I gcc/gcc/ada -I gcc/gcc/ada/doc/gnat_ugn" fi makeinfo --html --css-ref $CSS $includes -o ${file} ${filename}