mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-18 21:43:34 +08:00
waf: Configure check the inliner only once.
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user