Bump version
[libcxml.git] / cscript
diff --git a/cscript b/cscript
index 501d35486a682ea34b47d70de8ab8d901c0ba7a0..4fc3f4f51fc984fc71a60a30cc1df1128987bc2d 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,2 +1,8 @@
-release_targets = ['source']
-
+def build(target, options):
+    cmd = './waf configure --prefix=%s' % target.directory
+    if target.platform == 'linux':
+        cmd += ' --static --disable-tests'
+    elif target.platform == 'windows':
+        cmd += ' --target-windows'
+    target.command(cmd)
+    target.command('./waf build install')