[Top][All Lists]
[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! :)
[Automake-NG] [PATCH 07/15] [ng] VarDef: store comments and values as a perl array, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 03/15] [ng] vars: get rid of VAR_SILENT type, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 08/15] [ng] vars: simplify logic for appending conditionally, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 06/15] [ng] refactor: support comments only for VarDef, not for ItemDef too, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 09/15] [ng] vars: keep track of conditionals in appended values and comments, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 11/15] [ng] refactor: change signature of 'define_variable()', Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> define_cond_variable(), Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 10/15] [ng] vars: get rid of VAR_ASIS / VAR_PRETTY distinction, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 15/15] [ng] vars: remove some safety checks in Automake::Variable::define, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 12/15] [ng] cleanup: prefer 'define_variable' over 'define_pretty_variable', Stefano Lattarini, 2012/05/25