summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-17 13:17:52 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-17 13:17:52 +0100
commit77c46d57b694506e0834244dde1616c63771f0e6 (patch)
tree316a953e50e973c14ab0cad7ba1ad58a33c51af6 /cscript
parent4e374e18ce142e3418a74d19cd78d3cf9e416fc8 (diff)
Add build() method to cscript.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index 501d3548..18837ad8 100644
--- a/cscript
+++ b/cscript
@@ -1,2 +1,5 @@
release_targets = ['source']
+def build(prefix):
+ command('./waf configure --prefix=%s build install' % prefix)
+