mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-03 17:02:56 +08:00
waf: Fix building the images in the src path.
This commit is contained in:
parent
1599d9937a
commit
4407039110
@ -394,7 +394,7 @@ def images_plantuml(ctx, source_dir, conf_dir, ext):
|
|||||||
return r
|
return r
|
||||||
|
|
||||||
for src in ctx.path.ant_glob('**/*' + ext):
|
for src in ctx.path.ant_glob('**/*' + ext):
|
||||||
tgt = src.abspath()[: - len(ext)] + '.png'
|
tgt = src.change_ext('.png')
|
||||||
ctx(
|
ctx(
|
||||||
rule = run,
|
rule = run,
|
||||||
inliner = ctx.env.BIN_PUML,
|
inliner = ctx.env.BIN_PUML,
|
||||||
@ -403,7 +403,6 @@ def images_plantuml(ctx, source_dir, conf_dir, ext):
|
|||||||
install_path = None
|
install_path = None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def cmd_build(ctx, extra_source = []):
|
def cmd_build(ctx, extra_source = []):
|
||||||
conf_dir = ctx.path.get_src()
|
conf_dir = ctx.path.get_src()
|
||||||
source_dir = ctx.path.get_src()
|
source_dir = ctx.path.get_src()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user