diff options
-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) |