Merge.
authorCarl Hetherington <cth@carlh.net>
Wed, 24 Apr 2013 23:07:45 +0000 (00:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 24 Apr 2013 23:07:45 +0000 (00:07 +0100)
cscript

diff --git a/cscript b/cscript
index 501d35486a682ea34b47d70de8ab8d901c0ba7a0..5f2d151771d45de83a4d5d393a18129203d98c1a 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,2 +1,7 @@
-release_targets = ['source']
 
+def build(env, target):
+    cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
+    if target.platform == 'windows':
+        cmd += ' --target-windows'
+    env.command(cmd)
+    env.command('./waf build install')