GNU make manual 翻译(五十九)
2012-09-17 10:43
309 查看
继续翻译
条件性指令
条件性指令会被立即解析。这意味着,例如,自动化变量不能在 条件性指令中使用,因为自动化变量是要知道规则的片段被执行时才会被设置的。如果你需要在条件性指令中使用一个自动化变量,你必须把这个条件移动到片断中,并且用 shell 的条件语法来代替。
后文待续
Conditional Directives ---------------------- Conditional directives are parsed immediately. This means, for example, that automatic variables cannot be used in conditional directives, as automatic variables are not set until the recipe for that rule is invoked. If you need to use automatic variables in a conditional directive you _must_ move the condition into the recipe and use shell conditional syntax instead.
条件性指令
条件性指令会被立即解析。这意味着,例如,自动化变量不能在 条件性指令中使用,因为自动化变量是要知道规则的片段被执行时才会被设置的。如果你需要在条件性指令中使用一个自动化变量,你必须把这个条件移动到片断中,并且用 shell 的条件语法来代替。
后文待续
相关文章推荐
- GNU make manual 翻译(九)
- GNU make manual 翻译(二十五)
- GNU make manual 翻译(三十九)
- GNU make manual 翻译(五十一)
- GNU make manual 翻译(五十五)
- GNU make manual 翻译(八十五)
- GNU make manual 翻译( 九十七)
- GNU make manual 翻译( 一百零六)
- GNU make manual 翻译( 一百零八)
- GNU make manual 翻译( 一百二十二)
- GNU make manual 翻译( 一百四十二)
- GNU make manual 翻译( 一百五十四)
- GNU make manual 翻译( 一百六十八)
- GNU make manual 翻译( 一百八十三)
- GNU make manual 翻译(十)
- GNU make manual 翻译(二十六)
- GNU make manual 翻译(四十)
- GNU make manual 翻译(五十二)
- GNU make manual 翻译(五十六)
- GNU make manual 翻译(七十)