From 95bc2dde1a7634844ccc3c41382f365d9c721efc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Mar 2019 19:23:49 +0100 Subject: Fix online documentation generation --- wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index ff5a4a7..400e6a2 100644 --- a/wscript +++ b/wscript @@ -299,8 +299,9 @@ def build(bld): for spec in specs: # Copy spec files to build dir srcpath = spec.srcpath() - name = os.path.basename(srcpath) - full_path = spec_map[name] + basename = os.path.basename(srcpath) + full_path = spec_map[basename] + name = 'lv2core' if basename == 'core' else basename path = chop_lv2_prefix(full_path) base = full_path[len('lv2/lv2plug.in'):] for f in bld.path.ant_glob(srcpath + '/*.*'): @@ -360,6 +361,7 @@ def build(bld): ' --docdir=' + os.path.relpath('doc/html', os.path.dirname(html_path)) + ' --tags=doc/tags' + ' --index=' + index_file + + (' --online' if bld.env.ONLINE_DOCS else '') + ' ${SRC} ${TGT}') bld(rule = cmd, -- cgit v1.2.1