mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
declare_chain: action -> rule
This commit is contained in:
parent
5b4dfee98a
commit
1f4ecd7a19
@ -209,7 +209,7 @@ def build(bld):
|
||||
from waflib import TaskGen
|
||||
TaskGen.declare_chain(
|
||||
name = 'a',
|
||||
action = 'cp ${SRC} ${TGT}',
|
||||
rule = 'cp ${SRC} ${TGT}',
|
||||
ext_in = '.in',
|
||||
ext_out = ['.a1', '.a2'],
|
||||
reentrant = True,
|
||||
@ -217,7 +217,7 @@ TaskGen.declare_chain(
|
||||
|
||||
TaskGen.declare_chain(
|
||||
name = 'b',
|
||||
action = 'cp ${SRC} ${TGT}',
|
||||
rule = 'cp ${SRC} ${TGT}',
|
||||
ext_in = '.a1',
|
||||
ext_out = '.b',
|
||||
reentrant = False,
|
||||
|
Loading…
Reference in New Issue
Block a user