bug-make
[Top][All Lists]
Advanced

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

Re: Difficulties from the combination of functions "call" and "eval"


From: Norbert Thiebaud
Subject: Re: Difficulties from the combination of functions "call" and "eval"
Date: Sun, 18 Jan 2015 13:07:05 -0600

On Sun, Jan 18, 2015 at 6:31 AM, SF Markus Elfring
<address@hidden> wrote:
>
> Yes. - The evaluated variable should produce shell commands for recipes.
> I try to reuse it as a subfunction.

then use $(call  -- or possibly $$(call, if you want to defer the call
to when the recipe get invoked)
not $(eval

>> It's just _part_ of a recipe?
>
> It is a fragment for the reuse by another variable expansion.
>
>
>> Then $(eval) is the Wrong Thing.
>
> I hope not …

hope is not relevant... $(eval) _is_ the Wrong Thing(tm) for what you
seems to want to do



reply via email to

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