From f7ee47f11c4613f3fe83134bc1122bf1a9278b68 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Nov 2011 07:35:26 +0000 Subject: Parse all files to find release data (for shortdesc in pkgconfig files). --- ext.wscript | 5 +++-- 1 file 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), -- cgit v1.2.1