diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 19:23:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 19:28:53 +0100 |
commit | 95bc2dde1a7634844ccc3c41382f365d9c721efc (patch) | |
tree | 72e4eff2bf0225dafdfd292ad375bc3009109a84 /wscript | |
parent | 054a218a1f4a093e06e41eecbb4aa4edb887c272 (diff) | |
download | lv2-95bc2dde1a7634844ccc3c41382f365d9c721efc.tar.xz |
Fix online documentation generation
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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, |