On Sat, Jun 7, 2008 at 3:26 AM, Bernhard Schmalhofer
<[EMAIL PROTECTED]> wrote:
>
>> On Fri, Jun 06, 2008 at 11:17:33PM -0700, Will Coleda via RT wrote:
>>
>>>
>>>  Let's borrow the syntax from the makefile generation itself, and  just
>>> have RM_F's definition be:
>>>
>>> +        rm_f      => '@perl@ -MExtUtils::Command -e rm_f',
>>>
>>> [...]
>>>
>
> Sound good to me.
>>>
>>> Additionally (though it won't help the original problem, it will help
>>> remove a ton of boilerplate), we can also eliminate all the RM_F = @rm_f@
>>> boilerplate in the makefiles, and simply use @rm_f@ where we now use $(RM_F)
>>>
>>>
>
> Actually I don't mind having things like
>
> RM_F             = /home/coke/bin/perl -MExtUtils::Command -e rm_f
>
> defined on top of Makefiles. It is standard Makfile syntax.
> When editing the generated Makefile, for testing and development, it easier
> to change
> the global definition of a variable than to change all ocurrances.
>
agreed. so how about we generate a makefile that is full of all the
macros we need RM_F, PERL, CP, etc, and include it in all makefiles as
they're generated?
~jerry

Reply via email to