From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id EB2633858D38; Thu, 10 Nov 2022 13:05:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EB2633858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8B0CE22C0E; Thu, 10 Nov 2022 13:05:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668085515; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5Vd/4oq286UaqdoAwO0qbfLC8IKlPHJQRKpql6zUUfs=; b=KBMVypbUOQHFP7v0ZOFEYgDN3hwOKQ51WRAI72mtnNfbr+LvNAr7VPKHe5w5s8/YsSiu92 fjweq+b82EI6ZYA9IvCtRNvUUH9hNfXK4n3j67wweLPSHkgjRMh1Jc4iKTUYTl4qMABZuf kQ99VJ0Yb61aDNdFLBsC0AVoxGf1TsI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668085515; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5Vd/4oq286UaqdoAwO0qbfLC8IKlPHJQRKpql6zUUfs=; b=jpSTGaAqZHR0Scff1SkhVE/Jp3OBTEroGYl3RoHjByvEk5NFu8ICpQlqndo6QUvR4hFlEY zRk/s6GdayZolNDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6BC3F13B58; Thu, 10 Nov 2022 13:05:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5BhbGQv3bGNbbAAAMHmgww (envelope-from ); Thu, 10 Nov 2022 13:05:15 +0000 Message-ID: <410c3aae-cf26-6e1c-3a8c-3c9cdafe61cf@suse.cz> Date: Thu, 10 Nov 2022 14:05:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Announcement: Porting the Docs to Sphinx - 9. November 2022 Content-Language: en-US To: Joseph Myers Cc: Xi Ruoyao , Sandra Loosemore , GCC Patches , GCC Development 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> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 11/9/22 18:14, Joseph Myers wrote: > On Wed, 9 Nov 2022, Martin Liška wrote: > >> 1) not synchronized content among lib*/Makefile.in and lib*/Makefile.am. >> Apparently, I modified the generated Makefile.in file with the rules like: >> >> doc/info/texinfo/libitm.info: $(SPHINX_FILES) >> + if [ x$(HAS_SPHINX_BUILD) = xhas-sphinx-build ]; then \ >> make -C $(srcdir)/../doc info SOURCEDIR=$(abs_srcdir)/doc BUILDDIR=$(abs_doc_builddir)/info SPHINXBUILD=$(SPHINX_BUILD); \ >> else true; fi >> >> Can you please modify Makefile.am in the corresponding manner and re-generate 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 to manage. > >> 2) Adding proper support --enable-generated-files-in-srcdir in gcc_release: > > It looks like all the GENINSRC rules / conditionals are still present. > So maybe there are details where the paths are wrong, or where fixes are > needed to ensure the files get installed from the source directory when > available in the source directory but not available in the build directory > 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 in src), or to create such a source tarball? Cheers, Martin