Prep docs before pdf.

This commit is contained in:
Graydon Hoare 2012-03-27 13:07:26 -07:00
parent b7b16afc3d
commit 55bfc5e4f9
1 changed files with 3 additions and 3 deletions

View File

@ -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: $@)