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/rules_simple/wscript

24 lines
328 B
Python

#! /usr/bin/env python
"""
A task generator that will copy a file from the source directory
to another file in the build directory
Try:
$ waf configure clean build
"""
top = '.'
out = 'build'
def configure(conf):
pass
def build(bld):
bld(
rule = 'cp ${SRC} ${TGT}',
source = 'wscript',
target = 'foobar.txt',
)