aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-08 00:28:38 +0100
committerDavid Robillard <d@drobilla.net>2017-02-08 00:28:38 +0100
commit0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db (patch)
treef52961f40e512d5d1798c7a40b48d27a27d141ac /wscript
parentb36868f3b96a436961c0c51b5b2dd71d05da9b12 (diff)
downloadlv2-0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db.tar.xz
Add lv2_validate utility
Diffstat (limited to 'wscript')
-rw-r--r--wscript14
1 files changed, 11 insertions, 3 deletions
diff --git a/wscript b/wscript
index 69268b8..4e1a7b5 100644
--- a/wscript
+++ b/wscript
@@ -140,7 +140,7 @@ def build_index(task):
lv2 = rdflib.Namespace('http://lv2plug.in/ns/lv2core#')
rdf = rdflib.Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
- model = load_ttl(['lv2/lv2plug.in/ns/meta/meta.ttl'])
+ model = load_ttl(['lv2/lv2plug.in/ns/lv2core/meta.ttl'])
# Get date for this version, and list of all LV2 distributions
proj = rdflib.URIRef('http://lv2plug.in/ns/lv2')
@@ -271,6 +271,14 @@ def build(bld):
INCLUDEDIR = bld.env.INCLUDEDIR,
VERSION = VERSION)
+ # Validator
+ bld(features = 'subst',
+ source = 'util/lv2_validate.in',
+ target = 'lv2_validate',
+ chmod = Utils.O755,
+ install_path = '${BINDIR}',
+ LV2DIR = bld.env.LV2DIR)
+
# Build extensions
for i in exts:
build_ext(bld, i.srcpath())
@@ -447,7 +455,7 @@ def posts(ctx):
dev_dist = dev_dist)
entries = autowaf.get_rdf_news('lv2',
- ['lv2/lv2plug.in/ns/meta/meta.ttl'],
+ ['lv2/lv2plug.in/ns/lv2core/meta.ttl'],
None,
top_entries,
dev_dist = dev_dist)
@@ -471,7 +479,7 @@ def dist(ctx):
# Write top level amalgamated NEWS file
entries = autowaf.get_rdf_news('lv2',
- ['lv2/lv2plug.in/ns/meta/meta.ttl'],
+ ['lv2/lv2plug.in/ns/lv2core/meta.ttl'],
None,
top_entries,
dev_dist = dev_dist)