From c8875974909ae27a74e75f752ce11cd296e2438a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 Jan 2019 21:35:14 +0100 Subject: Fix reference documentation build --- lv2specgen/lv2specgen.py | 2 +- 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 = '%s' % ( 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) -- cgit v1.2.1