mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 03:26:40 +08:00
waf: Configure check the inliner only once.
This commit is contained in:
parent
93e52865e2
commit
91d6c96b4c
@ -199,6 +199,8 @@ def cmd_configure(ctx):
|
|||||||
|
|
||||||
ctx.envBUILD_SINGLEHTML = 'no'
|
ctx.envBUILD_SINGLEHTML = 'no'
|
||||||
if ctx.options.singlehtml:
|
if ctx.options.singlehtml:
|
||||||
|
check_inliner = not ctx.env.BIN_INLINER
|
||||||
|
if check_inliner:
|
||||||
ctx.env.BUILD_SINGLEHTML = 'yes'
|
ctx.env.BUILD_SINGLEHTML = 'yes'
|
||||||
ctx.find_program("inliner", var = "BIN_INLINER", mandatory = False)
|
ctx.find_program("inliner", var = "BIN_INLINER", mandatory = False)
|
||||||
if not ctx.env.BIN_INLINER:
|
if not ctx.env.BIN_INLINER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user