summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-20 09:16:19 +1100
committerChris Johns <chrisj@rtems.org>2019-02-28 10:22:54 +1100
commit440703911014e7dbeb7b086e7a18c735cbc283d1 (patch)
tree7dac58e5eed0c649fdb7dbc598fa50c81a300418 /common
parent1599d9937a416e2f48e2d3dc84ecec266fbbfa98 (diff)
downloadrtems-docs-440703911014e7dbeb7b086e7a18c735cbc283d1.tar.bz2
waf: Fix building the images in the src path.
Diffstat (limited to 'common')
-rw-r--r--common/waf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/waf.py b/common/waf.py
index f859be7..d3bfbbf 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -394,7 +394,7 @@ def images_plantuml(ctx, source_dir, conf_dir, ext):
return r
for src in ctx.path.ant_glob('**/*' + ext):
- tgt = src.abspath()[: - len(ext)] + '.png'
+ tgt = src.change_ext('.png')
ctx(
rule = run,
inliner = ctx.env.BIN_PUML,
@@ -403,7 +403,6 @@ def images_plantuml(ctx, source_dir, conf_dir, ext):
install_path = None
)
-
def cmd_build(ctx, extra_source = []):
conf_dir = ctx.path.get_src()
source_dir = ctx.path.get_src()