automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Automake-NG] [PATCH 05/15] [ng] tests: Automake should let us appen


From: Akim Demaille
Subject: Re: [Automake-NG] [PATCH 05/15] [ng] tests: Automake should let us append to undefined variables (someday)
Date: Fri, 25 May 2012 16:37:57 +0200

Le 25 mai 2012 à 16:20, Stefano Lattarini a écrit :

> On 05/25/2012 04:08 PM, Akim Demaille wrote:
>> 
>> Le 25 mai 2012 à 15:47, Stefano Lattarini a écrit :
>> 
>>> On 05/25/2012 03:26 PM, Akim Demaille wrote:
>>>> The point was to prevent users from messing around with Automake
>>>> variables.
>>> One more good reason for Automake to stick to the 'AM_' namespace
>>> consistently ;-)
>> 
>> Agreed.  Yet Automake uses PROGRAMS, SCRIPTS, SOURCES etc.  Many
>> of them are tempting.
>> 
> You mean Automake is using a variable names 'PROGRAMS' (without
> any prefix like 'bin_' or 'noinst_') internally?  If yes, that is
> a bug we should fix ASAP in Automake-NG.

PROGRAMS, DATA, SCRIPTS, TEXINFOS, MANS to name a few.

>> Well, that fact that more static checks can annoy is not
>> new.  Yet I would not go back to K&R C.
>> 
> Yes, but here is more like we are trying to put the static checks in
> the preprocessor rather than in the compiler ;-)

:)

> The best long-term fix is probably add a new option/target/whatever
> to GNU make to ensure *it* can error our on '+=' on undefined variables
> and on redefinition of already-defined variable.
> 
> Any taker? *cough* (/me ducks and run).

The running dot in front of you: that's me.

> So let's just hope I can manage stay clear of icebergs ... ;-)

Naaaaah!  You just put me lousy music in the head.  I hate you!  :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]