From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 39A093858D1E; Thu, 10 Nov 2022 13:50:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 39A093858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x635.google.com with SMTP id f27so5179840eje.1; Thu, 10 Nov 2022 05:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ol8G8oldEs0R+fyA7bHve17vmT5CVZGV9+HX/+QXVsk=; b=lD2toaNKm42DeBjVeSJuTMNk7v3V7gP7xa60CbL6ySLxkGAeZEIymZzSJIhi7GH+o6 LPXdBGSDLuxyWZmSvblvrHMGdx0bXpTZysBkKit1CxCh0ubD3djaXX5a6BHXpKgf2vqK 1zJnDmbQqAWf9R4Fv/zgIsU7WwnFxeS4DEw8mY2+NwmvEy8vWoWc2xjDo7aK6JEGAs45 KHHHtbknmfxTlA9yXbqDYjp2MYVadE+jw3bx46h9ZHYCcDyqXhbObVS8W3VnUkp+zfIu Qy708OIgmBOoAFq0w2F5pFYW+u2aK37AouTKp2DHgd8NsdwIDS258QEgga8hU97pBraP PD/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ol8G8oldEs0R+fyA7bHve17vmT5CVZGV9+HX/+QXVsk=; b=UF/fFV6VFEMmn/CCr/oIr4/01IinEa+OGYg4VTN5CGXCftDqA405VmAJF0aNphG54B cGGLsfuH0PXw9xLYQkXi1aZaHN22uTXNOyV6cyBbIN4jBZm3AO/0RLWRMQ1ZNXNPMPRS onwvyuvx+9u4FTevPfCGV9rVqOimPJrOtrTOu53NI+n/a5JUlGZiDrLaEMvZr/fIIjIT LMxa8O7VMGiV7hCSm0OFz+AG7xTA3w8I60Ufhq3W+OTqtpG+2vwZX0EJpTafaHBw2O1P XHoWZQABbBisv1hZ4bSOYJPNdf5YYTsnaANMK08uMubMo9GWrBs772MzbOY3Q+BbwDNi NaHA== X-Gm-Message-State: ACrzQf02B2Jhkp1mVjozdvSuD7ezLAOBkrlixgABRb6X2ycn8SHIf67G LqoGMHByhuOnbiGhoaXWR44Eot0aY8RhCNr20L0= X-Google-Smtp-Source: AMsMyM4ApXHX7ELSYdoEfTB72Cl2Zpg5HI2ovAmAuevQt0MoVlpGEsE2IQUZnHPeUKQdmN9htQrHB061Na6+AkQzjOU= X-Received: by 2002:a17:906:f242:b0:7ad:90dd:4af with SMTP id gy2-20020a170906f24200b007ad90dd04afmr2874217ejb.488.1668088231562; Thu, 10 Nov 2022 05:50:31 -0800 (PST) MIME-Version: 1.0 References: <9975b774-46d7-8870-fd92-498f5ec50ab4@suse.cz> <9ea57a95-fefe-81a3-848e-ede0893f5b61@suse.cz> <8198573b-89e2-a232-3e33-0e5c4153c112@suse.cz> <494cee6fc68c06e039f46c3d6f8331a32e81ab5e.camel@linuxfromscratch.org> <7bae16bc-9069-4964-a80e-7ebff82e007e@suse.cz> <2a4347ab-40a1-2afc-f48c-6d8290afb7c6@suse.cz> <39808e02-cf84-f9d2-3b55-4c161666e82a@suse.cz> <410c3aae-cf26-6e1c-3a8c-3c9cdafe61cf@suse.cz> In-Reply-To: <410c3aae-cf26-6e1c-3a8c-3c9cdafe61cf@suse.cz> From: Richard Biener Date: Thu, 10 Nov 2022 14:50:18 +0100 Message-ID: Subject: Re: Announcement: Porting the Docs to Sphinx - 9. November 2022 To: =?UTF-8?Q?Martin_Li=C5=A1ka?= Cc: Joseph Myers , Xi Ruoyao , Sandra Loosemore , GCC Patches , GCC Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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, Nov 10, 2022 at 2:05 PM Martin Li=C5=A1ka wrote: > > On 11/9/22 18:14, Joseph Myers wrote: > > On Wed, 9 Nov 2022, Martin Li=C5=A1ka wrote: > > > >> 1) not synchronized content among lib*/Makefile.in and lib*/Makefile.a= m. > >> Apparently, I modified the generated Makefile.in file with the rules l= ike: > >> > >> doc/info/texinfo/libitm.info: $(SPHINX_FILES) > >> + if [ x$(HAS_SPHINX_BUILD) =3D xhas-sphinx-build ]; then \ > >> make -C $(srcdir)/../doc info SOURCEDIR=3D$(abs_srcdir)/doc BUI= LDDIR=3D$(abs_doc_builddir)/info SPHINXBUILD=3D$(SPHINX_BUILD); \ > >> else true; fi > >> > >> Can you please modify Makefile.am in the corresponding manner and re-g= enerate Makefile.in? > > > > I think someone else had best look at this. > > All right, I've got a patch candidate for it, so I'll be hopefully able t= o manage. > > > > >> 2) Adding proper support --enable-generated-files-in-srcdir in gcc_rel= ease: > > > > It looks like all the GENINSRC rules / conditionals are still present. > > So maybe there are details where the paths are wrong, or where fixes ar= e > > needed to ensure the files get installed from the source directory when > > available in the source directory but not available in the build direct= ory > > because Sphinx isn't available, but much of the code for the feature is > > still there. > > I can investigate then. Is the option --enable-generated-files-in-srcdir = suppose > to be used when building from a release tarball (that includes man/info i= n src), > or to create such a source tarball? It's to create such a tarball which then can be built with a reduced toolse= t. > Cheers, > Martin >