summaryrefslogtreecommitdiff
path: root/stepmake
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@trueroad.jp>2016-01-10 01:23:40 +0900
committerMasamichi Hosoda <trueroad@trueroad.jp>2016-01-19 22:55:33 +0900
commitf59d7926962df6a3a51047c85ea0b1989e15a85b (patch)
treef4e8e0dbe65d43b4172f94f634bb8e88a5688083 /stepmake
parent1223757343fa22a14cac5fb2a87e2147a8d39676 (diff)
Issue 4731: Add TeX engine changeability for the backend of texi2pdf
texi2pdf uses TeX engine for backend. This commit ensures that it can be selected by the configure script.
Diffstat (limited to 'stepmake')
-rw-r--r--stepmake/stepmake/texinfo-rules.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make
index 063a346091..4747347a90 100644
--- a/stepmake/stepmake/texinfo-rules.make
+++ b/stepmake/stepmake/texinfo-rules.make
@@ -68,9 +68,9 @@ endif
$(outdir)/%.pdf: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/%.pdf.omf $(outdir)/weblinks.itexi | $(OUT_TEXINFO_MANUALS)
ifeq ($(WEB_VERSION),yes)
- $(buildscript-dir)/run-and-check "cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) -D web_version -I $(abs-src-dir) $(TEXINFO_PAPERSIZE_OPTION) $(<F) < /dev/null" "$*.texi2pdf.log"
+ PDFTEX=$(PDFTEX) PDFLATEX=$(PDFLATEX) $(buildscript-dir)/run-and-check "cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) -D web_version -I $(abs-src-dir) $(TEXINFO_PAPERSIZE_OPTION) $(<F) < /dev/null" "$*.texi2pdf.log"
else
- $(buildscript-dir)/run-and-check "cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) -I $(abs-src-dir) $(TEXINFO_PAPERSIZE_OPTION) $(<F) < /dev/null" "$*.texi2pdf.log"
+ PDFTEX=$(PDFTEX) PDFLATEX=$(PDFLATEX) $(buildscript-dir)/run-and-check "cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) -I $(abs-src-dir) $(TEXINFO_PAPERSIZE_OPTION) $(<F) < /dev/null" "$*.texi2pdf.log"
endif
$(outdir)/%.txt: $(outdir)/%.texi $(outdir)/version.itexi $(outdir)/weblinks.itexi | $(OUT_TEXINFO_MANUALS)