Stefano Lattarini <stefano.lattarini@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 14126) by debbugs.gnu.org; 20 Apr 2013 12:48:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 08:48:27 2013 Received: from localhost ([127.0.0.1]:33253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UTXDO-0007r8-JJ for submit <at> debbugs.gnu.org; Sat, 20 Apr 2013 08:48:27 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:53171) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <stefano.lattarini@HIDDEN>) id 1UTXDL-0007ql-7G; Sat, 20 Apr 2013 08:48:24 -0400 Received: by mail-we0-f180.google.com with SMTP id x43so395051wey.25 for <multiple recipients>; Sat, 20 Apr 2013 05:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rCVboQZVzsqu8sYxxcC46lkVE+V4JEZlxJ01q+jjapY=; b=tBi+dZKRmsQ96N0RJB5KCezq8eFYvEcLIrgpsil04XMDy+OvD4XNbHqhs/8iUuH34h F126tqWzbw420agjp9V5TCSdLAxAO/kNTH0QanQPvRFn30mcdT5HYNbP3WNzxvraezGe EuoxvfFkvbogn6Q/B1Bn5Php9xI3O9UVUz2nOZKo5eCjL57Z/JL3nwMvx2Gs/X6zqOW4 z6MM6tJDFqW8ABLI7PF7aIUMuM23I3lWW6UyBqXN2Ey28XvKAClZiRCUM54TZr+TEhg7 RFRzFKX+Q0EjgE/OKjrYNC2Vz4VSyC3nt4T9O29XhcIEnc+CoZrA8TWi2h+hP0TpxnwC 7ewA== X-Received: by 10.194.109.227 with SMTP id hv3mr34346334wjb.32.1366461822516; Sat, 20 Apr 2013 05:43:42 -0700 (PDT) Received: from [192.168.178.20] (host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93]) by mx.google.com with ESMTPSA id j10sm8706993wie.1.2013.04.20.05.43.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Apr 2013 05:43:41 -0700 (PDT) Message-ID: <51728D6F.3070001@HIDDEN> Date: Sat, 20 Apr 2013 14:43:27 +0200 From: Stefano Lattarini <stefano.lattarini@HIDDEN> MIME-Version: 1.0 To: Nick Bowler <nbowler@HIDDEN> Subject: Re: bug#14126: dist_EXTRA_SCRIPTS References: <515B3247.4040306@HIDDEN> <20130402215049.GA7244@HIDDEN> In-Reply-To: <20130402215049.GA7244@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14126 Cc: 14126 <at> debbugs.gnu.org, =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= <dilyan.palauzov@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -2.6 (--) severity 14126 minor stop Hi Nick, Дилян, sorry for the delay. On 04/02/2013 11:50 PM, Nick Bowler wrote: > On 2013-04-02 21:32 +0200, Дилян Палаузов wrote: >> As of Automake 1.13.1, in the documentaion, in node The Uniform Naming >> Scheme, last paragraph: >> >> Some primaries also allow additional prefixes that control other >> aspects of `automake''s behavior. The currently defined prefixes are >> `dist_', `nodist_', `nobase_', and `notrans_'. These prefixes are >> explained later (*note Program and Library Variables::) (*note Man >> Pages::). >> >> is not written, which primaries allow additional prefixes, and which do >> not allow. >> >> Moreover, I got confused by EXTRA_ , dist_ and _SCRIPTS. "EXTRA_SCRIPTS >> = file" is legal, as is "dist_EXTRA_SCRIPTS = file" . According to my >> expectations, the last shall mean, that on "make dist" the latter >> implies, that "file" is included in the tarball, but it isn't. >> Eventually, I had to use dist_noinst_SCRIPTS. > > Disclaimer: I did not look closely at what Automake actually does. > > I suspect the reason is that EXTRA_SCRIPTS doesn't really make a lot > of sense, so nobody has ever tried it before. > More precisely, it has no usefulness whatsoever. The 'EXTRA_' prefix [1] is actually only needed to list objects, programs or libraries that may or may not be built, depending on what configure decides; its use is required because Automake must *statically* know (at Automake runtime) the entire list of objects that may be built in order to generate a Makefile.in that will work in all cases. In all other cases, the use of 'EXTRA_' is pointless. [1] With the exclusion of its use in the very ad-hoc variable EXTRA_DIST > That would mean "the > following scripts are not distributed, not installed, not built by > default, and outside of the scope of any built-in Automake rules". > In other words, it is saying that Automake doesn't have to do anything, > so the expected behaviour is the same as if you did not write anything > at all. > Exactly. Perhaps Automake should catch this no-op constructs, and warn against them? WDYT? > By that token, dist_EXTRA_SCRIPTS means "the only thing you need to do > with these files is include them in the tarball". There is already a > variable for that: EXTRA_DIST. > While this is true, the use of the 'SCRIPTS' primary can also serve for documentation purpose (sorta), explicitly stating that the listed files are scripts. While Automake might not care about that presently, the idiom might help making the Makefile.am clearer to human readers. That said, the correct way to express the concept that "these files are scripts, but you should not install them, only distribute them" is with the 'noinst_' prefix, not the 'EXTRA_' prefix; so something like: dist_noinst_SCRIPTS = foo.sh > I think Automake probably just ignores both versions (i.e., it treats > them like ordinary make variables). > >> Do I misread the documentation, that dist_EXTRA_SCRIPTS is wrong, or is >> it not written? > > There is probably an improvement to be made (either to Automake or to > the manual), since the documentation does say that there is an EXTRA > version "for each primary" (which would include SCRIPTS) in §3.3: > > https://www.gnu.org/software/automake/manual/automake.html#Uniform > Still, the manual also says that: This variable is used to list objects that may or may not be built, depending on what configure decides. This variable is required because Automake must statically know the entire list of objects that may be built in order to generate a Makefile.in that will work in all cases. Maybe we should find a way to stress the point that any use of 'EXTRA_' that does not cater to this situation is pointless? Regards, Stefano
bug-automake@HIDDEN
:bug#14126
; Package automake
.
Full text available.Received: (at 14126) by debbugs.gnu.org; 2 Apr 2013 21:53:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 17:53:56 2013 Received: from localhost ([127.0.0.1]:58746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UN99P-0007Rc-Nb for submit <at> debbugs.gnu.org; Tue, 02 Apr 2013 17:53:56 -0400 Received: from mx.scalarmail.ca ([98.158.95.75]:12771 helo=ironport-01.sms.scalar.ca) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <prvs=nbowler=797c65a4e@HIDDEN>) id 1UN99M-0007RS-LA for 14126 <at> debbugs.gnu.org; Tue, 02 Apr 2013 17:53:54 -0400 Received: from unknown (HELO sms-zimbra-mta-02.sms.scalar.ca) ([192.168.32.56]) by ironport-01.sms.scalar.ca with ESMTP; 02 Apr 2013 17:50:51 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by sms-zimbra-mta-02.sms.scalar.ca (Postfix) with ESMTP id BD87E87C04; Tue, 2 Apr 2013 17:50:51 -0400 (EDT) X-Virus-Scanned: amavisd-new at sms-zimbra-mta-02.sms.scalar.ca Received: from sms-zimbra-mta-02.sms.scalar.ca ([127.0.0.1]) by localhost (sms-zimbra-mta-02.sms.scalar.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tYfIl7rWCISs; Tue, 2 Apr 2013 17:50:51 -0400 (EDT) Received: from mail.ellipticsemi.com (mail.elliptictech.com [209.217.122.41]) (Authenticated sender: nbowler@HIDDEN) by sms-zimbra-mta-02.sms.scalar.ca (Postfix) with ESMTPSA id EB48287BD8; Tue, 2 Apr 2013 17:50:50 -0400 (EDT) Date: Tue, 2 Apr 2013 17:50:49 -0400 From: Nick Bowler <nbowler@HIDDEN> To: =?utf-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= <dilyan.palauzov@HIDDEN> Subject: Re: bug#14126: dist_EXTRA_SCRIPTS Message-ID: <20130402215049.GA7244@HIDDEN> References: <515B3247.4040306@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <515B3247.4040306@HIDDEN> Organization: Elliptic Technologies Inc. User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 14126 Cc: 14126 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -1.9 (-) On 2013-04-02 21:32 +0200, Дилян Палаузов wrote: > As of Automake 1.13.1, in the documentaion, in node The Uniform Naming > Scheme, last paragraph: > > Some primaries also allow additional prefixes that control other > aspects of `automake''s behavior. The currently defined prefixes are > `dist_', `nodist_', `nobase_', and `notrans_'. These prefixes are > explained later (*note Program and Library Variables::) (*note Man > Pages::). > > is not written, which primaries allow additional prefixes, and which do > not allow. > > Moreover, I got confused by EXTRA_ , dist_ and _SCRIPTS. "EXTRA_SCRIPTS > = file" is legal, as is "dist_EXTRA_SCRIPTS = file" . According to my > expectations, the last shall mean, that on "make dist" the latter > implies, that "file" is included in the tarball, but it isn't. > Eventually, I had to use dist_noinst_SCRIPTS. Disclaimer: I did not look closely at what Automake actually does. I suspect the reason is that EXTRA_SCRIPTS doesn't really make a lot of sense, so nobody has ever tried it before. That would mean "the following scripts are not distributed, not installed, not built by default, and outside of the scope of any built-in Automake rules". In other words, it is saying that Automake doesn't have to do anything, so the expected behaviour is the same as if you did not write anything at all. By that token, dist_EXTRA_SCRIPTS means "the only thing you need to do with these files is include them in the tarball". There is already a variable for that: EXTRA_DIST. I think Automake probably just ignores both versions (i.e., it treats them like ordinary make variables). > Do I misread the documentation, that dist_EXTRA_SCRIPTS is wrong, or is > it not written? There is probably an improvement to be made (either to Automake or to the manual), since the documentation does say that there is an EXTRA version "for each primary" (which would include SCRIPTS) in §3.3: https://www.gnu.org/software/automake/manual/automake.html#Uniform Cheers, -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
bug-automake@HIDDEN
:bug#14126
; Package automake
.
Full text available.Received: (at submit) by debbugs.gnu.org; 2 Apr 2013 20:57:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 16:57:31 2013 Received: from localhost ([127.0.0.1]:58675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UN8Go-00064G-17 for submit <at> debbugs.gnu.org; Tue, 02 Apr 2013 16:57:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40594) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8Gk-000648-05 for submit <at> debbugs.gnu.org; Tue, 02 Apr 2013 16:57:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8Dm-0006wh-0r for submit <at> debbugs.gnu.org; Tue, 02 Apr 2013 16:54:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,RDNS_NONE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8Dl-0006wd-UT for submit <at> debbugs.gnu.org; Tue, 02 Apr 2013 16:54:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8Di-00016A-BS for bug-automake@HIDDEN; Tue, 02 Apr 2013 16:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8De-0006vF-QW for bug-automake@HIDDEN; Tue, 02 Apr 2013 16:54:18 -0400 Received: from [94.23.222.218] (port=52146 helo=serveur.turbivo.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN8De-0006iN-HM for bug-automake@HIDDEN; Tue, 02 Apr 2013 16:54:14 -0400 Received: from aegeepc1.aegee.uni-karlsruhe.de ([129.13.131.81] helo=smtp.aegee.org) by serveur.turbivo.com with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <dilyan.palauzov@HIDDEN>) id 1UN6wT-0004Bo-TT for bug-automake@HIDDEN; Tue, 02 Apr 2013 21:32:25 +0200 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov DKIM-Filter: OpenDKIM Filter v2.8.1 smtp.aegee.org r32JWPOQ031995 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096; t=1364931146; i=dkim+MSA-ssl@HIDDEN; bh=GuZfUBXS025EHYaa11knpmWIIAN221TwaHuCjQnbGR8=; h=Date:From:To:Subject; b=drhRrUKR3II1sHj+k5xohSAJ6ccAZesZPzZzoesFxu8wYlcvmGtxIEf7d25d3Aub5 aQ3VEc/HBpDTf4zW7wdvinDhV1ht95LV31D/dZDSrwYuVpBBgTM5U304we8zm1/Hto u9hP8xNh1NsltOaRCv9qUeSIAsXMW5BFOj5Oewt8a7g5HHUAeptcyilVbBOAVRqRuu pXg3nTuQt1Q2mvdZMFYigWmriiMZdmy0YIrB+CDbytkR0jHeQ7QVzjnOL0zuIwZoVd Evgn93JR5vaT8N/wwEeSD5G1SCWuPwcMw4BIrFv/d2srL3MVIE0E4LQ7qBDhlrZq6+ xwUFcOvbyGNC+F486d54Mej5GIxpzfXH+ggihb/G5x97h03lUh4zmiqLkp1INHyVUq sUUbpEXfdsvtTsPLdLaUuQtZdNNoS0+6ckhw2Pet6qqfEdW6hX58qVDzOP6iJxUnjj 9cCE2imzr31mINal29tlphRILd/Xx/BHMeHzC10MOGNpH3F6di/qY+e384dVFerrMO 4FoeSJNz2VvUIAW9H+odrVY+Q7AM8e2lCcWfxT3gROvNxTKXNTQlzLLMLLxujV7L+L wipT0E3FDYjdjmw9XZ7FzEaPLP//7Cf7/eoNnzVoOmMLZFI6PHjPWX7bzIPHQ3sQPZ QXhnH+tj9hdtiMQ3HTBH72Mg= Received: from [192.168.0.6] (port-212-202-110-243.static.qsc.de [212.202.110.243]) (authenticated bits=0) by smtp.aegee.org (8.14.6/8.14.5) with ESMTP id r32JWPOQ031995 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <bug-automake@HIDDEN>; Tue, 2 Apr 2013 19:32:26 GMT Message-ID: <515B3247.4040306@HIDDEN> Date: Tue, 02 Apr 2013 21:32:23 +0200 From: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= <dilyan.palauzov@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: bug-automake@HIDDEN Subject: dist_EXTRA_SCRIPTS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.97.7 at aegeeserv X-Virus-Status: Clean X-DKIM-Status: pass [(aegee.org) - 129.13.131.81] X-DKIM-Status: pass [(dkim+MSA-ssl@HIDDEN) - 129.13.131.81] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -6.9 (------) Hello, As of Automake 1.13.1, in the documentaion, in node The Uniform Naming Scheme, last paragraph: Some primaries also allow additional prefixes that control other aspects of `automake''s behavior. The currently defined prefixes are `dist_', `nodist_', `nobase_', and `notrans_'. These prefixes are explained later (*note Program and Library Variables::) (*note Man Pages::). is not written, which primaries allow additional prefixes, and which do not allow. Moreover, I got confused by EXTRA_ , dist_ and _SCRIPTS. "EXTRA_SCRIPTS = file" is legal, as is "dist_EXTRA_SCRIPTS = file" . According to my expectations, the last shall mean, that on "make dist" the latter implies, that "file" is included in the tarball, but it isn't. Eventually, I had to use dist_noinst_SCRIPTS. Do I misread the documentation, that dist_EXTRA_SCRIPTS is wrong, or is it not written? Greetings Дилян
Дилян Палаузов <dilyan.palauzov@HIDDEN>
:bug-automake@HIDDEN
.
Full text available.bug-automake@HIDDEN
:bug#14126
; Package automake
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.