[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
- Re: Difficulties from the combination of functions "call" and "eval", (continued)
- Re: Difficulties from the combination of functions "call" and "eval", Norbert Thiebaud, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Tim Murphy, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Conditional recipe execution,
SF Markus Elfring <=
- Re: Conditional recipe execution, Paul Smith, 2015/01/18
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/19
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23