automake-ng
[Top][All Lists]
Advanced

[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:20:15 +0200

Le 25 mai 2012 à 13:38, Stefano Lattarini a écrit :

> It's basically unused, and the tiny cosmetic enhancements it offers
> are not worth the complication of having yet another variable type.

Note that it is sometimes extremely valuable to add complications
to ensure that the output is deterministic, and, for instance, does
not depend on some hash random order.

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.

> * automake.in (handle_subdirs): Force RECURSIVE_TARGETS to be of
> type "VAR_PRETTY" rather than "VAR_SORTED".  This removes the only
> actual use of the VAR_SORTED constant.
> * lib/Automake/VarDef.pm (VAR_SORTED): Delete.
> (@EXPORT, Pod documentation): Adjust accordingly.
> * lib/Automake/Variable.pm (output): Don't handle variables of type
> VAR_SORTED anymore.
> (define): The value of the '$pretty' parameter cannot be VAR_SORTED
> anymore.  Adjust internal checks and Pod documentation accordingly.




reply via email to

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