aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-21 07:35:26 +0000
committerDavid Robillard <d@drobilla.net>2011-11-21 07:35:26 +0000
commitf7ee47f11c4613f3fe83134bc1122bf1a9278b68 (patch)
tree393674dcee6d8ce98ab303b7ca2db90ca52e35de
parent45793772a3b27c5e936505b68c83d2f0ccebbf9f (diff)
downloadlv2-f7ee47f11c4613f3fe83134bc1122bf1a9278b68.tar.xz
Parse all files to find release data (for shortdesc in pkgconfig files).
-rw-r--r--ext.wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext.wscript b/ext.wscript
index 276bee9..842abef 100644
--- a/ext.wscript
+++ b/ext.wscript
@@ -26,11 +26,12 @@ except:
dir = sys.path[0]
m = rdflib.ConjunctiveGraph()
- m.parse(os.path.join(dir, 'manifest.ttl'), format='n3')
+
+ for i in glob.glob(os.path.join(dir, '*.ttl')):
+ m.parse(i, format='n3')
spec = m.value(None, rdf.type, lv2.Specification)
name = os.path.basename(spec.replace('http://', ''))
- m.parse(os.path.join(dir, name + '.ttl'), format='n3')
info = type('lv2extinfo', (object,), {
'NAME' : str(name),