From 88f1298924f4cb92fe81b0c2c8e16828b0456d8c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Nov 2011 04:46:55 +0000 Subject: Fix distcheck. --- ext.wscript | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'ext.wscript') 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) -- cgit v1.2.1