[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: |
Sat, 31 Jan 2015 13:00:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
> But a quick check of your link above shows no comments or anything
> in the makefile describing what it does,
Thanks for your look at my example.
> and I don't really understand the purpose behind all these recipes
> which consist of if-statements where the body of the recipe is made empty
> if variables are not set.
It is my approach for recipe execution guards. I hope that such conditions
are sufficient to let the affected recipes only run for a single target
despite of the specification of several output files there.
Some targets will not usually work together with the make command-line
option "-j" if a corresponding value was passed that is greater than one
for such a parameter.
> I will also mention that I see you using various bash-specific shell
> features (e.g., 'XY=$${XY/|/ }'), but I don't see any setting of "SHELL
> = /bin/bash" in your makefile; unless you do this then your makefiles
> will fail on any system where /bin/sh (which is the default setting for
> SHELL in make) is not bash;
Thanks for your reminder.
Are there any more programs which support text replacement within content
from "shell variables" directly?
Regards,
Markus
- Re: Conditional recipe execution, (continued)
- 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/24
- Re: Extensions for make file parsing?, SF Markus Elfring, 2015/01/24
- Re: Challenges around the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/28
- Re: Challenges around the combination of functions "call" and "eval", Paul Smith, 2015/01/28
- Re: Conditional recipe execution,
SF Markus Elfring <=
- Re: Difficulties from the combination of functions "call" and "eval", Philip Guenther, 2015/01/18
- Re: Questionable line number in a message "missing separator"?, Paul Smith, 2015/01/18