summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/cscript b/cscript
new file mode 100644
index 0000000..a05fa0b
--- /dev/null
+++ b/cscript
@@ -0,0 +1,19 @@
+import os
+
+def dependencies(target):
+ return (('libcxml', '7b4ecc3'))
+
+def build(target, options):
+ cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+ if target.platform == 'linux':
+ cmd += ' --static'
+ if target.debug:
+ cmd += ' --enable-debug'
+
+ target.command(cmd)
+ target.command('./waf build install')
+
+def make_doxygen(target):
+ os.makedirs('build/doc')
+ target.command('doxygen')
+ return os.path.abspath('build/doc/html')