From c603be2429f8260e147cde4d9bf808503430d467 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Mar 2020 17:36:05 +0100 Subject: Fix building documentation as a subproject --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 678e9b0..9dcfbe1 100644 --- a/wscript +++ b/wscript @@ -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 -- cgit v1.2.1