diff options
author | David Robillard <d@drobilla.net> | 2020-03-07 17:36:05 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-07 17:36:05 +0100 |
commit | c603be2429f8260e147cde4d9bf808503430d467 (patch) | |
tree | 44d9074b175e3861759aff9fbfe111998c7d4116 | |
parent | 0080c435932349af4ed6e8ca8f4f09d5c3d71845 (diff) | |
download | lv2-c603be2429f8260e147cde4d9bf808503430d467.tar.xz |
Fix building documentation as a subproject
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -318,7 +318,7 @@ def build(bld): if bld.env.DOCS or bld.env.ONLINE_DOCS: # Copy spec files to build dir for spec in specs: - srcpath = spec.srcpath() + srcpath = spec.path_from(bld.path) basename = os.path.basename(srcpath) full_path = spec_map[basename] name = 'lv2core' if basename == 'core' else basename @@ -327,7 +327,7 @@ def build(bld): bld(features = 'subst', is_copy = True, - source = os.path.join(spec.srcpath(), name + '.ttl'), + source = os.path.join(srcpath, name + '.ttl'), target = path + '.ttl') # Copy stylesheets to build directory |