2
0
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:
Thomas Nagy 2012-08-04 22:31:02 +02:00
parent 5b4dfee98a
commit 1f4ecd7a19

View File

@ -209,7 +209,7 @@ def build(bld):
from waflib import TaskGen from waflib import TaskGen
TaskGen.declare_chain( TaskGen.declare_chain(
name = 'a', name = 'a',
action = 'cp ${SRC} ${TGT}', rule = 'cp ${SRC} ${TGT}',
ext_in = '.in', ext_in = '.in',
ext_out = ['.a1', '.a2'], ext_out = ['.a1', '.a2'],
reentrant = True, reentrant = True,
@ -217,7 +217,7 @@ TaskGen.declare_chain(
TaskGen.declare_chain( TaskGen.declare_chain(
name = 'b', name = 'b',
action = 'cp ${SRC} ${TGT}', rule = 'cp ${SRC} ${TGT}',
ext_in = '.a1', ext_in = '.a1',
ext_out = '.b', ext_out = '.b',
reentrant = False, reentrant = False,