mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 09:33:26 +00:00
Prep docs before pdf.
This commit is contained in:
parent
b7b16afc3d
commit
55bfc5e4f9
@ -46,12 +46,12 @@ doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
|
||||
DOCS += doc/rust.pdf
|
||||
doc/rust.tex: rust.md doc/version.md doc/keywords.md
|
||||
@$(call E, pandoc: $@)
|
||||
$(Q)$(CFG_PANDOC) \
|
||||
$(Q)$(CFG_NODE) $(S)doc/prep.js $< | \
|
||||
"$(CFG_PANDOC)" \
|
||||
--standalone --toc \
|
||||
--number-sections \
|
||||
--from=markdown --to=latex \
|
||||
--output=$@ \
|
||||
$<
|
||||
--output=$@
|
||||
|
||||
doc/rust.pdf: doc/rust.tex
|
||||
@$(call E, pdflatex: $@)
|
||||
|
Loading…
Reference in New Issue
Block a user