GNU bug report logs - #14177
Incorrect extending of rules in documentation

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Severity: minor; Reported by: Bastien ROUCARIES <roucaries.bastien@HIDDEN>; Keywords: moreinfo; dated Wed, 10 Apr 2013 23:33:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at 14177 <at> debbugs.gnu.org:


Received: (at 14177) by debbugs.gnu.org; 22 Apr 2013 07:05:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 22 03:05:18 2013
Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UUAoQ-0000Ul-0f
	for submit <at> debbugs.gnu.org; Mon, 22 Apr 2013 03:05:18 -0400
Received: from mail-la0-f48.google.com ([209.85.215.48]:41533)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UUAoL-0000UV-Km
	for 14177 <at> debbugs.gnu.org; Mon, 22 Apr 2013 03:05:15 -0400
Received: by mail-la0-f48.google.com with SMTP id eo20so1265255lab.7
	for <14177 <at> debbugs.gnu.org>; Mon, 22 Apr 2013 00:00:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:in-reply-to:references:date:message-id
	:subject:from:to:cc:content-type:content-transfer-encoding;
	bh=jlqaW7cBQEENAoGvhfI0VavS4NnmaOUWCvGyVwZbvbg=;
	b=ntIIcRc7h3n1822pOzq9A20vWvf2tkiJblUgbtGHukfXC51L6WFKiGChOYHMse9v+w
	JuKy34v63kV6t+BeE3SiqAyEv0HbvJjOIu+VcJeQJFgaOqW8WCZBJTf/1Z2G/9lLzl+K
	Y8qTQWJPpINyGhekM/ii8r1WGeVicCNZnM7325W1ZrUgcumQdMkSKjfe9j8Yas0ZXXE+
	P3rb458fckn8oYahDMfqrwcZTVjPXBelymfuqg178/UACsZ8zahqyt3xcu/bEI+kreBz
	1iVx0DKRhquqgSJlqeKwfOLghepw4DtslqEDu0XdqjYpMERPQpA7i0QnzWM8QRtPsgIg
	EKUw==
MIME-Version: 1.0
X-Received: by 10.152.6.102 with SMTP id z6mr11073747laz.7.1366614022968; Mon,
	22 Apr 2013 00:00:22 -0700 (PDT)
Received: by 10.112.132.35 with HTTP; Mon, 22 Apr 2013 00:00:22 -0700 (PDT)
In-Reply-To: <5172B096.4070707@HIDDEN>
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
	<20130411133320.GA18332@HIDDEN>
	<5172B096.4070707@HIDDEN>
Date: Mon, 22 Apr 2013 09:00:22 +0200
Message-ID: <CAE2SPAYZR4zrFq9iKhK0z+mL7YFMdYLhx3ADeNiSwDoPJ3y50Q@HIDDEN>
Subject: Re: bug#14177: Incorrect extending of rules in documentation
From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
To: Stefano Lattarini <stefano.lattarini@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 14177
Cc: 14177 <at> debbugs.gnu.org, Nick Bowler <nbowler@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 (--)

On Sat, Apr 20, 2013 at 5:13 PM, Stefano Lattarini
<stefano.lattarini@HIDDEN> wrote:
> tags 14177 + moreinfo
> severity 14177 minor
> stop
>
> Hello Nick, Bastien, sorry for the delay.
>
> On 04/11/2013 03:33 PM, Nick Bowler wrote:
>> On 2013-04-11 01:28 +0200, Bastien ROUCARIES wrote:
>>> The make code fragment at
>>> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Ex=
tending
>>> does not work as expected if you use --program-suffix=3D-hdr :
>>>
>>>
>>>
>>>      install-exec-hook:
>>>              cd $(DESTDIR)$(bindir) && \
>>>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>>>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
>>>
>>>
>>> error:
>>>
>>> mv: cannot stat `./animate': No such file or directory
>>> mv: cannot stat `./compare': No such file or directory
>>> mv: cannot stat `./composite': No such file or directory
>>>
>>> Could you please correct the example code and explain us how to be comp=
atible?
>>
>> The suffix feature (partially) come from Autoconf; see =C2=A715.7 "Trans=
-
>> forming Program Names When Installing"[1] of the autoconf manual.  You
>> are correct that this example in the Automake manual is broken if the
>> user decides to use the feature.
>>
>> The transformation is communicated to the Makefile as a sed program, so
>> I think you should be able to make it work with something like this
>> (untested):
>>
>>   install-exec-hook:
>>       instprog=3D`echo prog | sed '$(program_transform_name)'`; \
>>         cd $(DESTDIR)$(bindir) && \
>>         mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
>>         $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)
>>
> Thank you Nick for providing this code.  However, I'm not really convince=
d that
> it would be worth to additionally complicate the example in the manual to=
 cater
> to the seldom-used "program name transformation" feature (which I actuall=
y
> believe is a misfeature in several respects, but that's something for ano=
ther
> thread).


I believe a footnote mentionning the problem will be sufficient with a solu=
tion.
> Still, I'd like to hear the community's opinion on this before committing=
 to
> a decision, so for the moment being I'm tagging this report with "more in=
fo
> required" rather than with "will not fix".
>
>> [1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-=
Names
>>
>> Hope that helps,
>
> Thanks,
>   Stefano




Information forwarded to bug-automake@HIDDEN:
bug#14177; Package automake. Full text available.
Severity set to 'minor' from 'normal' Request was from Stefano Lattarini <stefano.lattarini@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) moreinfo. Request was from Stefano Lattarini <stefano.lattarini@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 14177 <at> debbugs.gnu.org:


Received: (at 14177) by debbugs.gnu.org; 20 Apr 2013 15:18:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 11:18:15 2013
Received: from localhost ([127.0.0.1]:33631 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UTZYM-0007s1-N3
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:18:15 -0400
Received: from mail-wi0-f176.google.com ([209.85.212.176]:36260)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1UTZYJ-0007rr-UE
	for 14177 <at> debbugs.gnu.org; Sat, 20 Apr 2013 11:18:13 -0400
Received: by mail-wi0-f176.google.com with SMTP id hj19so2235235wib.9
	for <14177 <at> debbugs.gnu.org>; Sat, 20 Apr 2013 08:13:30 -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=bh5qdVrgM80RRYMQgbz8fgIGvBwLDnqgQ3IKocnDBBY=;
	b=Mbq7/39OGI08vZv1jQSVHHNfKZUFzgH0wXhaMca9cNhjPN8THFVahVT/QrzpLWdRLw
	z3RLXqRbTdnJgSSYx8DqCwNBwun8A65306XeBv5tsuBNujJedH4A3pkVlgQwkj7shh/M
	0srcPJ0s78tOvs0OWKAJnP+claJOYB+cbAPuO1tgfv3r3jVH+Hn6w6PmM1Qbj4xWzYYH
	bM63w6L5JISsppsi2su1m9yv1eTgRwOgvSvFMSv4BQYoYop/HzqFmXl0g3LAgGOtnS+Z
	iKTRKaPeIcJ8zIlMPIzIWEL2U39ykRnHoVVJrKUg661S1aNXwMST/Wwt9s4svhbu9AsJ
	qkqg==
X-Received: by 10.180.189.205 with SMTP id gk13mr49627933wic.25.1366470810599; 
	Sat, 20 Apr 2013 08:13:30 -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 fp2sm9327810wib.7.2013.04.20.08.13.28
	for <multiple recipients>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 20 Apr 2013 08:13:29 -0700 (PDT)
Message-ID: <5172B096.4070707@HIDDEN>
Date: Sat, 20 Apr 2013 17:13:26 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: Nick Bowler <nbowler@HIDDEN>
Subject: Re: bug#14177: Incorrect extending of rules in documentation
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
	<20130411133320.GA18332@HIDDEN>
In-Reply-To: <20130411133320.GA18332@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 14177
Cc: Bastien ROUCARIES <roucaries.bastien@HIDDEN>, 14177 <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: -2.6 (--)

tags 14177 + moreinfo
severity 14177 minor
stop

Hello Nick, Bastien, sorry for the delay.

On 04/11/2013 03:33 PM, Nick Bowler wrote:
> On 2013-04-11 01:28 +0200, Bastien ROUCARIES wrote:
>> The make code fragment at
>> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
>> does not work as expected if you use --program-suffix=-hdr :
>>
>>
>>
>>      install-exec-hook:
>>              cd $(DESTDIR)$(bindir) && \
>>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
>>
>>
>> error:
>>
>> mv: cannot stat `./animate': No such file or directory
>> mv: cannot stat `./compare': No such file or directory
>> mv: cannot stat `./composite': No such file or directory
>>
>> Could you please correct the example code and explain us how to be compatible?
> 
> The suffix feature (partially) come from Autoconf; see §15.7 "Trans-
> forming Program Names When Installing"[1] of the autoconf manual.  You
> are correct that this example in the Automake manual is broken if the
> user decides to use the feature.
> 
> The transformation is communicated to the Makefile as a sed program, so
> I think you should be able to make it work with something like this
> (untested):
> 
>   install-exec-hook:
>   	instprog=`echo prog | sed '$(program_transform_name)'`; \
>   	  cd $(DESTDIR)$(bindir) && \
>   	  mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
>   	  $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)
> 
Thank you Nick for providing this code.  However, I'm not really convinced that
it would be worth to additionally complicate the example in the manual to cater
to the seldom-used "program name transformation" feature (which I actually
believe is a misfeature in several respects, but that's something for another
thread).

Still, I'd like to hear the community's opinion on this before committing to
a decision, so for the moment being I'm tagging this report with "more info
required" rather than with "will not fix".

> [1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-Names
>   	
> Hope that helps,

Thanks,
  Stefano




Information forwarded to bug-automake@HIDDEN:
bug#14177; Package automake. Full text available.

Message received at 14177 <at> debbugs.gnu.org:


Received: (at 14177) by debbugs.gnu.org; 11 Apr 2013 13:37:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 09:37:17 2013
Received: from localhost ([127.0.0.1]:45279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UQHgi-0003r0-F6
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2013 09:37:17 -0400
Received: from mx.scalarmail.ca ([98.158.95.75]:1177
	helo=ironport-01.sms.scalar.ca)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <prvs=nbowler=806a7dc58@HIDDEN>)
	id 1UQHge-0003px-Ir
	for 14177 <at> debbugs.gnu.org; Thu, 11 Apr 2013 09:37:14 -0400
Received: from unknown (HELO sms-zimbra-mta-01.sms.scalar.ca) ([192.168.32.56])
	by ironport-01.sms.scalar.ca with ESMTP; 11 Apr 2013 09:33:22 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTP id 3F4C1DBA6B; 
	Thu, 11 Apr 2013 09:33:22 -0400 (EDT)
X-Virus-Scanned: amavisd-new at sms-zimbra-mta-01.sms.scalar.ca
Received: from sms-zimbra-mta-01.sms.scalar.ca ([127.0.0.1])
	by localhost (sms-zimbra-mta-01.sms.scalar.ca [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id F99AiElGT-C6; Thu, 11 Apr 2013 09:33:21 -0400 (EDT)
Received: from mail.ellipticsemi.com (mail.elliptictech.com [209.217.122.41])
	(Authenticated sender: nbowler@HIDDEN)
	by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTPSA id 466E5DB955;
	Thu, 11 Apr 2013 09:33:21 -0400 (EDT)
Date: Thu, 11 Apr 2013 09:33:20 -0400
From: Nick Bowler <nbowler@HIDDEN>
To: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
Subject: Re: bug#14177: Incorrect extending of rules in documentation
Message-ID: <20130411133320.GA18332@HIDDEN>
References: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
Organization: Elliptic Technologies Inc.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 14177
Cc: 14177 <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-11 01:28 +0200, Bastien ROUCARIES wrote:
> The make code fragment at
> http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
> does not work as expected if you use --program-suffix=-hdr :
> 
> 
> 
>      install-exec-hook:
>              cd $(DESTDIR)$(bindir) && \
>                mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
>                $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)
> 
> 
> error:
> 
> mv: cannot stat `./animate': No such file or directory
> mv: cannot stat `./compare': No such file or directory
> mv: cannot stat `./composite': No such file or directory
> 
> Could you please correct the example code and explain us how to be compatible?

The suffix feature (partially) come from Autoconf; see §15.7 "Trans-
forming Program Names When Installing"[1] of the autoconf manual.  You
are correct that this example in the Automake manual is broken if the
user decides to use the feature.

The transformation is communicated to the Makefile as a sed program, so
I think you should be able to make it work with something like this
(untested):

  install-exec-hook:
  	instprog=`echo prog | sed '$(program_transform_name)'`; \
  	  cd $(DESTDIR)$(bindir) && \
  	  mv -f $$instprog$(EXEEXT) $$instprog-$(VERSION)$(EXEEXT) && \
  	  $(LN_S) $$instprog-$(VERSION)$(EXEEXT) $$instprog$(EXEEXT)

[1] https://gnu.org/software/autoconf/manual/autoconf.html#Transforming-Names
  	
Hope that helps,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)




Information forwarded to bug-automake@HIDDEN:
bug#14177; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Apr 2013 23:32:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 19:32:53 2013
Received: from localhost ([127.0.0.1]:44312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UQ4VZ-0000uK-GT
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:32:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57909)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4VW-0000uC-AH
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:32:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rp-0000c2-OH
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:29:04 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:33631)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rp-0000bt-L9
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2013 19:29:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41032)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rn-00023C-7h
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:29:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rk-0000YP-HL
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:28:59 -0400
Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:61835)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <roucaries.bastien@HIDDEN>) id 1UQ4Rk-0000Xl-90
	for bug-automake@HIDDEN; Wed, 10 Apr 2013 19:28:56 -0400
Received: by mail-la0-f52.google.com with SMTP id ej20so957142lab.39
	for <bug-automake@HIDDEN>; Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:date:message-id:subject:from:to
	:content-type; bh=jZqW1V0Uuf8IKfLs9zdOr5vxnWsuidFvsiW+UwQJw/w=;
	b=qsjZ13b7tCrBkbShSu9+srFiQt4n0+4mAbo98Pa10c6cDU3rvmR91yCKEY/TF6IcS+
	OtA7w4XIQdB+4tphP08OjYzMuvMt7OPxVo48Z5/Ef0vAIklw660DO5jdxAKBOU99pMrc
	Co4o9Ykb/MLFBYi97Ermrh1FCnn0cG601OA7Y4KSeqBPgGFel2/dijf32xjqSHhzHAOl
	v1F5dseIteTfA1ndrXujqSEZuiQEyWg59x8ILoD3X66SGt8US/eY0R/sxoNmOhb+Z74Q
	r/PnCiQ71vv7CWNVpuvXJ5381ZSWOu12ZSxk82Fb9kKB4cM09BM0R0SbF9GfBewJu+aR
	j1Gg==
MIME-Version: 1.0
X-Received: by 10.112.130.102 with SMTP id od6mr2160343lbb.122.1365636534382; 
	Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
Received: by 10.112.11.3 with HTTP; Wed, 10 Apr 2013 16:28:54 -0700 (PDT)
Date: Thu, 11 Apr 2013 01:28:54 +0200
Message-ID: <CAE2SPAbpy0idqUYhotB7k2VQ4A_1+s=OscvZ3os09+FuPdHrRA@HIDDEN>
Subject: Incorrect extending of rules in documentation
From: Bastien ROUCARIES <roucaries.bastien@HIDDEN>
To: bug-automake@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
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.1 (------)

The make code fragment at
http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
does not work as expected if you use --program-suffix=-hdr :



     install-exec-hook:
             cd $(DESTDIR)$(bindir) && \
               mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
               $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)


error:

mv: cannot stat `./animate': No such file or directory
mv: cannot stat `./compare': No such file or directory
mv: cannot stat `./composite': No such file or directory

Could you please correct the example code and explain us how to be compatible?




Acknowledgement sent to Bastien ROUCARIES <roucaries.bastien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#14177; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.