aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files 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,
35' href='#n135'>135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168