You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/docs/book/examples/tasks_update_outputs/wscript

17 lines
389 B
Python

#! /usr/bin/env python
def configure(ctx):
pass
def build(ctx):
ctx(
rule = 'touch ${TGT}',
source = 'wscript',
target = ctx.path.make_node('wscript2'),
)
ctx(
rule = 'cp ${SRC} ${TGT}',
source = ctx.path.make_node('wscript2'),
target = ctx.path.make_node('wscript3')
)