From 640e1474db9cb614cc1c669e5c950682c9e8493d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2012 00:41:44 +0000 Subject: Make top-level 'waf dist' generate necessary files so rdflib is not a build requirement. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') 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') -- cgit v1.2.1