aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-12 00:41:44 +0000
committerDavid Robillard <d@drobilla.net>2012-02-12 00:41:44 +0000
commit640e1474db9cb614cc1c669e5c950682c9e8493d (patch)
tree98d441ee7d23e3e2b4e433946ad06f6b69c50e00 /wscript
parent44c2f0d9d3e72007ca378117dae0cea1276aae15 (diff)
downloadlv2-640e1474db9cb614cc1c669e5c950682c9e8493d.tar.xz
Make top-level 'waf dist' generate necessary files so rdflib is not a build requirement.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index bc58b34..b6b33ef 100644
--- a/wscript
+++ b/wscript
@@ -10,6 +10,7 @@ import sys
from waflib.extras import autowaf as autowaf
import waflib.Logs as Logs
import waflib.Options as Options
+import waflib.Scripting as Scripting
# Version of this package (even if built as a child)
LV2EXT_VERSION = datetime.date.isoformat(datetime.datetime.now()).replace('-', '.')
@@ -312,6 +313,11 @@ def release(ctx):
def news(ctx):
ctx.recurse(get_subdirs(False))
+def dist(ctx):
+ ctx.recurse(get_subdirs(False), name='pre_dist')
+ ctx.archive()
+ ctx.recurse(get_subdirs(False), name='post_dist')
+
def lint(ctx):
for i in (['lv2/lv2plug.in/ns/lv2core/lv2.h']
+ glob.glob('lv2/lv2plug.in/ns/ext/*/*.h')