From 0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Feb 2017 00:28:38 +0100 Subject: Add lv2_validate utility --- wscript | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'wscript') 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) -- cgit v1.2.1