aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-17 04:37:13 +0000
committerDavid Robillard <d@drobilla.net>2012-04-17 04:37:13 +0000
commit1381b848a3a34e5acaad9527f146232a998020ea (patch)
treea437b39141d1c2bad591c9418f528013b374d4b6
parent08c2188f386ef496d16f27993e4e506e57bfa9f7 (diff)
downloadlv2-1381b848a3a34e5acaad9527f146232a998020ea.tar.xz
Remove cruft.
-rw-r--r--lv2/lv2plug.in/ns/lv2core/wscript35
1 files changed, 5 insertions, 30 deletions
diff --git a/lv2/lv2plug.in/ns/lv2core/wscript b/lv2/lv2plug.in/ns/lv2core/wscript
index 3e80259..85f0428 100644
--- a/lv2/lv2plug.in/ns/lv2core/wscript
+++ b/lv2/lv2plug.in/ns/lv2core/wscript
@@ -39,12 +39,6 @@ def configure(conf):
autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR'])
print('')
-def news(ctx):
- path = ctx.path.abspath()
- autowaf.write_news(APPNAME,
- glob.glob(os.path.join(path, '*.ttl')),
- os.path.join(path, 'NEWS'))
-
def build(bld):
# Header "library"
obj = bld(export_includes = ['.'],
@@ -72,35 +66,16 @@ def build(bld):
bld.symlink_as(os.path.join(include_dir, 'lv2core'),
os.path.relpath(bundle_dir, include_dir))
-class Dist(Scripting.Dist):
- def execute(self):
- "Execute but do not call archive() since dist() has already done so."
- self.recurse([os.path.dirname(Context.g_module.root_path)])
-
- def get_tar_path(self, node):
- "Resolve symbolic links to avoid broken links in tarball."
- return os.path.realpath(node.abspath())
-
-class DistCheck(Dist, Scripting.DistCheck):
- def execute(self):
- Dist.execute(self)
- self.check()
-
- def archive(self):
- Dist.archive(self)
+def news(ctx):
+ path = ctx.path.abspath()
+ autowaf.write_news(APPNAME,
+ glob.glob(os.path.join(path, '*.ttl')),
+ os.path.join(path, 'NEWS'))
def pre_dist(ctx):
# Write NEWS file in source directory
news(ctx)
-def dist(ctx):
- pre_dist(ctx)
- ctx.archive()
- post_dist(ctx)
-
-def distcheck(ctx):
- dist(ctx)
-
def post_dist(ctx):
# Delete generated NEWS file
try: