aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 19:21:29 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 21:23:02 +0100
commit13f8bcea5df5586d07b167110daabdae8453931d (patch)
tree65ffaf87bd82d1b075139e12edf64d548b70c2e9
parent984b9db7539c1362ecbca55791ede3273bbe34c4 (diff)
downloadlv2-13f8bcea5df5586d07b167110daabdae8453931d.tar.xz
Avoid redundant copy of Doxygen stylesheet
-rwxr-xr-xlv2specgen/lv2specgen.py4
-rw-r--r--wscript6
2 files changed, 2 insertions, 8 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index ba364fb..1363303 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1494,9 +1494,9 @@ if __name__ == "__main__":
# Root link
root_path = opts['root_path']
root_uri = opts['root_uri']
- root_link = os.path.relpath(root_path, path) if root_path else '.'
+ root_link = root_path
if not options.online_docs:
- root_link = os.path.join(root_link, 'index.html')
+ root_link = os.path.join(root_path, 'index.html')
# Generate spec documentation
specdoc = specgen(
diff --git a/wscript b/wscript
index 51a3f1f..5262eaf 100644
--- a/wscript
+++ b/wscript
@@ -329,12 +329,6 @@ def build(bld):
source = 'doc/%s' % i,
target = 'aux/%s' % i)
- bld(features = 'subst',
- is_copy = True,
- name = 'copy',
- source = 'doc/doxy-style.css',
- target = 'doc/html/doxy-style.css')
-
# Build Doxygen documentation (and tags file)
autowaf.build_dox(bld, 'LV2', VERSION, top, out, 'lv2plug.in/doc', False)
bld.add_group()