[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 04/14] [ng] clean: revamp recipes and APIs to e
From: |
Stefano Lattarini |
Subject: |
Re: [Automake-NG] [PATCH 04/14] [ng] clean: revamp recipes and APIs to extend cleaning rules |
Date: |
Sun, 24 Jun 2012 22:01:18 +0200 |
Hi Akim. Sorry for the later answer, that I has somehow missed
your mail.
On 06/21/2012 10:19 PM, Akim Demaille wrote:
>>>> + $(call .am.clean-cmd.f,$(am__mostlyclean_files))
>>>> + $(call .am.clean-cmd.d,$(am__mostlyclean_dirs))
>>>
>>> You could also just pass the name of the variable.
>>>
>> I don't follow. What do you mean?
>
> I meant
>
> + $(call .am.clean-cmd.f,am__mostlyclean_files)
> + $(call .am.clean-cmd.d,am__mostlyclean_dirs)
>
> Which might trigger the desire to go further
>
> + $(call .am.clean-cmd,mostlyclean)
>
> For instance.
>
Ah, but that will limit the scope of the '.am.clean-cmd.{f,d}' commands,
making them only able to act on the content of a give variable, rather
than on a generic list of items (which might or might not be variable
references). The reduction in code size that would be gain with your
proposed API is not worth such a limitation IMHO.
Regards,
Stefano
- Re: [Automake-NG] [PATCH 03/14] [ng] clean: simplify cleaning of compiled objects, (continued)
[Automake-NG] [PATCH 02/14] [ng] deptrack: clean depdirs using *clean-am targets, Stefano Lattarini, 2012/06/21
[Automake-NG] [PATCH 04/14] [ng] clean: revam p recipes and APIs to extend cleaning rules, Stefano Lattarini, 2012/06/21
Re: [Automake-NG] [PATCH 04/14] [ng] clean: revamp recipes and APIs to extend cleaning rules, Dave Hart, 2012/06/21
[Automake-NG] [PATCH 06/14] [ng] automake: new global variable '%clean_dirs', Stefano Lattarini, 2012/06/21
[Automake-NG] [PATCH 05/14] [ng] clean: do not ignore errors while removing files, Stefano Lattarini, 2012/06/21