diff options
author | David Robillard <d@drobilla.net> | 2012-02-12 00:41:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-12 00:41:44 +0000 |
commit | 640e1474db9cb614cc1c669e5c950682c9e8493d (patch) | |
tree | 98d441ee7d23e3e2b4e433946ad06f6b69c50e00 /wscript | |
parent | 44c2f0d9d3e72007ca378117dae0cea1276aae15 (diff) | |
download | lv2-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-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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') |