From 3d73fba2a4f92a08200571c77081604586e0dc93 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Jun 2013 15:08:47 +0100 Subject: [PATCH] cscript tweaks. --- cscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cscript b/cscript index 5413fdbc..30fd4aa6 100644 --- a/cscript +++ b/cscript @@ -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') -- 2.30.2