aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)