[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 02/15] [ng] vars: get rid of VAR_SORTED type
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH 02/15] [ng] vars: get rid of VAR_SORTED type |
Date: |
Fri, 25 May 2012 15:32:15 +0200 |
Le 25 mai 2012 à 15:27, Stefano Lattarini a écrit :
> This is a good point; in the present case, however:
>
> - the testsuite continued to pass after my change, so I assumed
> everything was OK; if not, that's a weakness in the testsuite
> that should be fixed
An empty diff seems to be a stronger form of equivalence than
a passed test suite :)
> - VAR_SORTED was only used to ensure the $(RECURSIVE_TARGETS)
> variable was sorted;
OK.
> if we truly need it to be, we should
> use $(sort) to ensure that at runtime.
That misses the point.
>> This makes the use of simple tools such as diff possible. This is
>> a useful ally during overhauls that affect the order in which
>> things are discovered.
>>
> I'm not sure I follow here... You mean we should keep extra complications
> in Automake to cater to those people still keeping the autotools-generated
> files committed in their VCS repos?
Nope, I'm talking about diffing the output of two different
Automakes, when hacking automake itself.
Which is your duty now, so if you're happy with this, just
continue! But expect to find code which is "aesthetics"
which is there only to make it easier to check the output
by hand.
[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