Skip to content

Commit 55bfc5e

Browse files
committed
Prep docs before pdf.
1 parent b7b16af commit 55bfc5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mk/docs.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ doc/rust.html: rust.md doc/version.md doc/keywords.md doc/rust.css
4646
DOCS += doc/rust.pdf
4747
doc/rust.tex: rust.md doc/version.md doc/keywords.md
4848
@$(call E, pandoc: $@)
49-
$(Q)$(CFG_PANDOC) \
49+
$(Q)$(CFG_NODE) $(S)doc/prep.js $< | \
50+
"$(CFG_PANDOC)" \
5051
--standalone --toc \
5152
--number-sections \
5253
--from=markdown --to=latex \
53-
--output=$@ \
54-
$<
54+
--output=$@
5555

5656
doc/rust.pdf: doc/rust.tex
5757
@$(call E, pdflatex: $@)

0 commit comments

Comments
 (0)