File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,10 @@ SHOULD_BUILD_PDF_DOC_$(1) = 1
147
147
endef
148
148
$(foreach docname,$(PDF_DOCS),$(eval $(call DEF_SHOULD_BUILD_PDF_DOC,$(docname))))
149
149
150
+ doc/footer.tex : $(D ) /footer.inc | doc/
151
+ @$$(call E, pandoc: $$@ )
152
+ $$(CFG_PANDOC ) --from=html --to=latex $$< --output=$$@
153
+
150
154
define DEF_DOC
151
155
152
156
# HTML (rustdoc)
@@ -163,10 +167,6 @@ doc/$(1).epub: $$(D)/$(1).md | doc/
163
167
@$$(call E, pandoc: $$@ )
164
168
$$(CFG_PANDOC ) $$(PANDOC_EPUB_OPTS ) $$< --output=$$@
165
169
166
- doc/footer.tex : $(D ) /footer.inc | doc/
167
- @$$(call E, pandoc: $$@ )
168
- $$(CFG_PANDOC ) --from=html --to=latex $$< --output=$$@
169
-
170
170
# PDF (md =(pandoc)=> tex =(pdflatex)=> pdf)
171
171
DOC_TARGETS += doc/$(1 ) .tex
172
172
doc/$(1 ) .tex : $$(D ) /$(1 ) .md doc/footer.tex doc/version.tex | doc/
You can’t perform that action at this time.
0 commit comments