bug-make
[Top][All Lists]
Advanced

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

Re: Conditional recipe execution


From: SF Markus Elfring
Subject: Re: Conditional recipe execution
Date: Mon, 19 Jan 2015 00:08:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

>> * I need to split an input file into several smaller files.
> 
> I don't see any way that $(eval ...) is needed or helpful for any of
> those things.

Can a make variable be set by this function within a recipe?


>> I imagine that conditional evaluation of recipes will be possible somehow,
>> wont it?
> 
> I don't know what you mean by this question; if you mean that a recipe
> should make a decision and do different things, then typically you would
> use _shell_ conditional statements for this:

How should it be achieved that a recipe will only be executed for its first
run despite of the detail that multiple targets were specified for
a specific rule?


> There are other possibilities, but without a specific use-case we can't
> say which one(s) are appropriate.

Would use cases around the standard command "split" be concrete enough
for further clarification?
https://en.wikipedia.org/wiki/Split_%28Unix%29

Regards,
Markus



reply via email to

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