aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-10 21:35:14 +0100
committerDavid Robillard <d@drobilla.net>2019-01-10 22:09:30 +0100
commitc8875974909ae27a74e75f752ce11cd296e2438a (patch)
treedb6aff082a745b6cb4e1808d38bc6bf845bad8c7
parent84597399525d99fe036ea93feedb7993f326de50 (diff)
downloadlv2-c8875974909ae27a74e75f752ce11cd296e2438a.tar.xz
Fix reference documentation build
-rwxr-xr-xlv2specgen/lv2specgen.py2
-rw-r--r--wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 1435f12..ddd0ba5 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1170,7 +1170,7 @@ def writeIndex(model, specloc, index_path, root_path, root_uri):
# Specification (comment is to act as a sort key)
if not options.online_docs:
- target += '/%s.html' % b
+ target += '/' + os.path.basename(target) + '.html'
row = '<tr><!-- %s --><td><a rel="rdfs:seeAlso" href="%s">%s</a></td>' % (
b, target, name)
diff --git a/wscript b/wscript
index 6215039..4ef53fe 100644
--- a/wscript
+++ b/wscript
@@ -345,7 +345,7 @@ def build(bld):
basename = os.path.basename(srcpath)
full_path = spec_map[basename]
name = 'lv2core' if basename == 'core' else basename
- ttl_name = 'lv2.ttl' if basename == 'core' else name + '.ttl'
+ ttl_name = name + '.ttl'
index_file = os.path.join('index_rows', name)
index_files += [index_file]
root_path = os.path.relpath('lv2/lv2plug.in/ns', full_path)