diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-18 15:08:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-18 15:08:47 +0100 |
| commit | 3d73fba2a4f92a08200571c77081604586e0dc93 (patch) | |
| tree | d106dd8f60bbf084aae71070acc24c52cb3b97c5 /cscript | |
| parent | 59617eb2230e47b59882c4f9ca6092ce05f53cf1 (diff) | |
cscript tweaks.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,17 +1,17 @@ import os -def build(env, target): - cmd = './waf configure --prefix=%s' % env.work_dir_cscript() +def build(target): + cmd = './waf configure --prefix=%s' % target.work_dir_cscript() if target.platform == 'linux': cmd += ' --static-libdcp --static-openjpeg' elif target.platform == 'windows': cmd += ' --target-windows' elif target.platform == 'osx': cmd += ' --osx' - env.command(cmd) - env.command('./waf build install') + target.command(cmd) + target.command('./waf build install') def make_doxygen(env): os.makedirs('build/doc') - env.command('doxygen') + target.command('doxygen') return os.path.abspath('build/doc/html') |
