aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 21:55:47 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 21:55:47 +0100
commitc181b3c6af79f76e8af606447c1b005df32756ac (patch)
treebd316a3136c1a950b6d5ac166bb92ac77a903438
parent03b6f8d9f3c750b9e1cc1b6b6f57aa7d16430a4c (diff)
downloadlv2-c181b3c6af79f76e8af606447c1b005df32756ac.tar.xz
Fix installation of local documentation
-rw-r--r--wscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/wscript b/wscript
index 9bc362a..719c026 100644
--- a/wscript
+++ b/wscript
@@ -326,7 +326,7 @@ def build(bld):
target = 'aux/%s' % i)
# Build Doxygen documentation (and tags file)
- autowaf.build_dox(bld, 'LV2', VERSION, top, out, 'lv2plug.in/doc', False)
+ autowaf.build_dox(bld, 'LV2', VERSION, top, out, 'doc', False)
bld.add_group()
index_files = []
@@ -361,8 +361,8 @@ def build(bld):
# Install documentation
if not bld.env.ONLINE_DOCS:
base = chop_lv2_prefix(srcpath)
- bld.install_files('${DOCDIR}/' + srcpath,
- bld.path.get_bld().ant_glob(base + '/*.html'))
+ bld.install_files(os.path.join('${DOCDIR}', 'lv2', os.path.dirname(html_path)),
+ html_path)
index_files.sort()
bld.add_group()
@@ -375,8 +375,8 @@ def build(bld):
# Install main documentation files
if not bld.env.ONLINE_DOCS:
- bld.install_files('${DOCDIR}/lv2/lv2plug.in/aux/', 'aux/style.css')
- bld.install_files('${DOCDIR}/lv2/lv2plug.in/ns/', 'ns/index.html')
+ bld.install_files('${DOCDIR}/lv2/aux/', 'aux/style.css')
+ bld.install_files('${DOCDIR}/lv2/ns/', 'ns/index.html')
if bld.env.BUILD_TESTS:
# Generate a compile test .c file that includes all headers