aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-07 04:46:55 +0000
committerDavid Robillard <d@drobilla.net>2011-11-07 04:46:55 +0000
commit88f1298924f4cb92fe81b0c2c8e16828b0456d8c (patch)
treec5a6eb95b0021fb4418fa203f9c8279f2fc64ece
parent67da9c90b01ae1c22ae78f4401bd68e4375c2fb9 (diff)
downloadlv2-88f1298924f4cb92fe81b0c2c8e16828b0456d8c.tar.xz
Fix distcheck.
-rw-r--r--ext.wscript14
1 files changed, 12 insertions, 2 deletions
diff --git a/ext.wscript b/ext.wscript
index 91c4524..ccb3e58 100644
--- a/ext.wscript
+++ b/ext.wscript
@@ -115,7 +115,10 @@ def build(bld):
os.path.relpath(bundle_dir, include_dir))
class Dist(Scripting.Dist):
- def execute(self):
+ fun = 'dist'
+ cmd = 'dist'
+
+ def archive(self):
# Generate lv2extinfo.py in source tree
lv2extinfo_py = open('lv2extinfo.py', 'w')
for i in info.__dict__:
@@ -124,7 +127,7 @@ class Dist(Scripting.Dist):
lv2extinfo_py.close()
# Build distribution
- Scripting.Dist.execute(self)
+ Scripting.Dist.archive(self)
# Delete lv2extinfo.py from source tree
try:
@@ -132,3 +135,10 @@ class Dist(Scripting.Dist):
os.remove('lv2extinfo.pyc')
except:
pass
+
+class DistCheck(Dist, Scripting.DistCheck):
+ fun = 'distcheck'
+ cmd = 'distcheck'
+
+ def archive(self):
+ Dist.archive(self)