mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-03 03:28:27 +08:00
waf: Update to support a recent waf.
This commit is contained in:
parent
154f3dc68b
commit
f3a7c9641b
@ -83,7 +83,7 @@ def doc_pdf(ctx, source_dir, conf_dir):
|
|||||||
|
|
||||||
ctx(
|
ctx(
|
||||||
rule = "${BIN_SPHINX_BUILD} -b latex -c %s -j %d -d build/doctrees %s build/latex" % (conf_dir, ctx.options.jobs, source_dir),
|
rule = "${BIN_SPHINX_BUILD} -b latex -c %s -j %d -d build/doctrees %s build/latex" % (conf_dir, ctx.options.jobs, source_dir),
|
||||||
cwd = ctx.path.abspath(),
|
cwd = ctx.path,
|
||||||
source = ctx.path.ant_glob('**/*.rst'),
|
source = ctx.path.ant_glob('**/*.rst'),
|
||||||
target = "latex/%s.tex" % ctx.path.name
|
target = "latex/%s.tex" % ctx.path.name
|
||||||
)
|
)
|
||||||
@ -92,7 +92,7 @@ def doc_pdf(ctx, source_dir, conf_dir):
|
|||||||
|
|
||||||
ctx(
|
ctx(
|
||||||
features = 'tex',
|
features = 'tex',
|
||||||
cwd = "%s/latex/" % ctx.path.get_bld().abspath(),
|
cwd = "%s/latex/" % ctx.path.get_bld().abspath(),
|
||||||
type = 'pdflatex',
|
type = 'pdflatex',
|
||||||
source = ctx.bldnode.find_or_declare("latex/%s.tex" % ctx.path.name),
|
source = ctx.bldnode.find_or_declare("latex/%s.tex" % ctx.path.name),
|
||||||
prompt = 0
|
prompt = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user