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.
16 lines
337 B
Python
16 lines
337 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
ctx.add_manual_dependency
|
|
|
|
change the file 'testfile' and see how it affects the rebuild of 'somecopy'
|
|
"""
|
|
|
|
def configure(ctx):
|
|
pass
|
|
|
|
def build(ctx):
|
|
ctx(rule='cp ${SRC} ${TGT}', source='wscript', target='somecopy')
|
|
ctx.add_manual_dependency(ctx.path.find_node('wscript'), ctx.path.find_node('testfile'))
|
|
|