diff --git a/demos/subst/wscript b/demos/subst/wscript index ebe975c9..56bc8638 100644 --- a/demos/subst/wscript +++ b/demos/subst/wscript @@ -34,3 +34,8 @@ def build(bld): # this one is just a reminder that simple files can be created (and a test too) #bld(rule='echo "การไฟ่" > ${TGT}', target='foo.txt') + # and this is an alternate syntax + #@bld.rule(source='wscript', target='wscript2') + #def _(tsk): + # tsk.outputs[0].write(tsk.inputs[0].read()) +