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

Reply via email to