aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files 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