automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [RFC] [ng] cleanup: merge '%compile_clean_files' in '%


From: Akim Demaille
Subject: Re: [Automake-NG] [RFC] [ng] cleanup: merge '%compile_clean_files' in '%clean_files'
Date: Fri, 22 Jun 2012 09:11:09 +0200

Le 21 juin 2012 à 22:19, Stefano Lattarini a écrit :

> No need to keep them separated anymore.
> 
> * automake.in (%libtool_clean_directories): Delete.
> (initialize_per_input): Don't reset it.
> (handle_compile): Don't merge '%libtool_clean_directories' (after
> proper editing) into '%clean_dirs'.
> (handle_ltlibraries, handle_programs, handle_single_transform):
> Update '%clean_dirs', rather than '%libtool_clean_directories'.
> 
> Signed-off-by: Stefano Lattarini <address@hidden>
> ---
> 
> I've written this patch only because I said in a previous reply that
> I would have done so, but I really think it should be dropped, because
> it makes the code more brittle and harder to understand.  WDYT?

I'm not sure I understand in what way the proposed code
is harder to understand and maintain than the current
one, but if you fear it, don't do it.




reply via email to

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