diff options
author | David Robillard <d@drobilla.net> | 2019-01-10 21:35:14 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-10 22:09:30 +0100 |
commit | c8875974909ae27a74e75f752ce11cd296e2438a (patch) | |
tree | db6aff082a745b6cb4e1808d38bc6bf845bad8c7 | |
parent | 84597399525d99fe036ea93feedb7993f326de50 (diff) | |
download | lv2-c8875974909ae27a74e75f752ce11cd296e2438a.tar.xz |
Fix reference documentation build
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 | ||||
-rw-r--r-- | wscript | 2 |
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) @@ -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) |