Karl Berry <karl@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Karl Berry <karl@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefano Lattarini <stefano.lattarini@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Sep 2011 11:39:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 15 07:39:33 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1R4AI0-0004oI-UV for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 07:39:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4AHw-0004ny-Ou for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 07:39:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4ADR-0002uc-Bg for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 07:34:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4ADR-0002uY-9y for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 07:34:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]:46757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4ADP-0008OK-SP for bug-automake@HIDDEN; Thu, 15 Sep 2011 07:34:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4ADO-0002uA-DB for bug-automake@HIDDEN; Thu, 15 Sep 2011 07:34:47 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:52601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1R4ADO-0002tz-1F for bug-automake@HIDDEN; Thu, 15 Sep 2011 07:34:46 -0400 Received: by wwp14 with SMTP id 14so2834418wwp.30 for <bug-automake@HIDDEN>; Thu, 15 Sep 2011 04:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :x-kmail-markup:mime-version:content-type:content-transfer-encoding :message-id; bh=7PmllUBXhpPdoF/UZDhTQHy20Gh3zJOBejvUC+b6odQ=; b=tPEpdBLf//vE3WwoBcKLQzETTGsY81jgSmrgg7p3P7GvhhAXTW+qxWzWBUSJfMnB0G DY+VKJ77MlcrGzBQk/5YVOpdfm4YDkGl4c+/yWBOwi4AgCfZ/ekfDSh7LbLM9iOZXdfW l2EZHmFZhk5MGsc1nx7P4MzgXx3Xd2b49CNgE= Received: by 10.216.199.205 with SMTP id x55mr961509wen.42.1316086483778; Thu, 15 Sep 2011 04:34:43 -0700 (PDT) Received: from bigio.localnet (host231-95-dynamic.244-95-r.retail.telecomitalia.it. [95.244.95.231]) by mx.google.com with ESMTPS id er8sm7494315wbb.0.2011.09.15.04.34.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 04:34:42 -0700 (PDT) From: Stefano Lattarini <stefano.lattarini@HIDDEN> To: Sebastian Freundt <devel@HIDDEN>, 9506 <at> debbugs.gnu.org Subject: TEXINFOS primary and nodist_ (was: Re: makeinfo in VPATH builds fails) Date: Thu, 15 Sep 2011 13:34:23 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <81d3f35fxn.fsf@HIDDEN> <201109151142.27493.stefano.lattarini@HIDDEN> <87pqj2vz7y.fsf@HIDDEN> In-Reply-To: <87pqj2vz7y.fsf@HIDDEN> X-KMail-Markup: true MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_ALecOb0JrRy2I/Z" Content-Transfer-Encoding: 7bit Message-Id: <201109151334.24315.stefano.lattarini@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: bug-automake@HIDDEN, 7657 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.1 (-----) --Boundary-01=_ALecOb0JrRy2I/Z Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Submitter: Sebastian Freundt <devel@HIDDEN> thanks Reference: <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9506> On Thursday 15 September 2011, Sebastian Freundt wrote: > Stefano Lattarini <stefano.lattarini@HIDDEN> writes: > > > The main point is that if you're distributing you `.info' files, you should > > ensure that they are *not* rebuilt when building from a distribution tarball > > (as that would wreak havoce with at least FreeBSD make). OTOH, if you *want* > > them to be rebuilt, you should *not* distribute them, and *also* add them to > > CLEANFILES; in this case automake will build them in the buiilddir (if it > > doesn't, than that's a bug we should fix ASAP). > > > > I've marked this bug closed as "wontfix", but feel free to continue the > > discussion here if you have further doubts to clarify or ideas to contribute. > > > Hi Stefano, > > I've followed your suggestions, and prefixed the TEXINFOS with `nodist_' > and added them to CLEANFILES, however the .info file is now neither built > nor installed (even upon make install-info). > Hmpf, yes, this is another limitation/incompatibility of the TEXINFOS primary; the only ways TEXINFOS can by used are: # Will cause generation of foo.info, foo.pdf, etc. info_TEXINFOS = foo.texi # Will declare that these files ae required when building `foo.texi' foo_TEXINFOS = bar.texi baz.texi So, when automake sees nodist_TEXINFOS, it thinks that it just lists extra `.texi' files required by `nodist.texi' ... And it doesn't even warn that `nodist.texi' is not really used anywhere! There is already a bug report about this situation: <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7657> but I had forgotten about it. Thanks for reminding me! > > In my case the .info files should be rebuilt and not distributed as they > contain partially auto-generated content. > OK. Maybe you might use a dist-hook to remove the `.info' files not intended for distribution from the distdir, just before the distribution tarball is created. See: <http://www.gnu.org/software/automake/manual/html_node/The-dist-Hook.html> > Another bug report? > Good idea. I've already opened it (hopefully in your name, otherwise I'll fix that later). > Cheers > Sebastian > Thanks, Stefano --Boundary-01=_ALecOb0JrRy2I/Z Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Bitstream Vera Sans Mono'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Submitter: Sebastian Freundt <devel@HIDDEN></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">thanks</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Reference:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9506></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Thursday 15 September 2011, Sebastian Freundt wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Stefano Lattarini <stefano.lattarini@HIDDEN> writes:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > The main point is that if you're distributing you `.info' files, you should</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > ensure that they are *not* rebuilt when building from a distribution tarball</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > (as that would wreak havoce with at least FreeBSD make). OTOH, if you *want*</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > them to be rebuilt, you should *not* distribute them, and *also* add them to</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > CLEANFILES; in this case automake will build them in the buiilddir (if it</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > doesn't, than that's a bug we should fix ASAP).</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> ></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > I've marked this bug closed as "wontfix", but feel free to continue the</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > discussion here if you have further doubts to clarify or ideas to contribute.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Hi Stefano,</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> I've followed your suggestions, and prefixed the TEXINFOS with `nodist_'</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> and added them to CLEANFILES, however the .info file is now neither built</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> nor installed (even upon make install-info).</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hmpf, yes, this is another limitation/incompatibility of the TEXINFOS</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">primary; the only ways TEXINFOS can by used are:</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> # Will cause generation of foo.info, foo.pdf, etc.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> info_TEXINFOS = foo.texi</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> # Will declare that these files ae required when building `foo.texi'</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> foo_TEXINFOS = bar.texi baz.texi</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">So, when automake sees nodist_TEXINFOS, it thinks that it just lists extra</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">`.texi' files required by `nodist.texi' ... And it doesn't even warn that</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">`nodist.texi' is not really used anywhere!</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">There is already a bug report about this situation:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7657></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">but I had forgotten about it. Thanks for reminding me!</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> In my case the .info files should be rebuilt and not distributed as they</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> contain partially auto-generated content.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">OK. Maybe you might use a dist-hook to remove the `.info' files not</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">intended for distribution from the distdir, just before the distribution</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">tarball is created. See:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> <http://www.gnu.org/software/automake/manual/html_node/The-dist-Hook.html></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Another bug report?</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Good idea. I've already opened it (hopefully in your name, otherwise I'll</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">fix that later).</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Cheers</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Sebastian</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks,</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Stefano</p></body></html> --Boundary-01=_ALecOb0JrRy2I/Z--
Stefano Lattarini <stefano.lattarini@HIDDEN>
:bug-automake@HIDDEN
.
Full text available.owner <at> debbugs.gnu.org, bug-automake@HIDDEN
:bug#9512
; Package automake
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.