diff options
| author | Holger Dengler <dengler@linutronix.de> | 2018-07-28 20:13:47 +0200 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-07-30 11:56:30 +0206 |
| commit | 300d0f892506fda9c4bfa706ebee2e1fc3cc4fb7 (patch) | |
| tree | 25fec2cce76260541b753abba1f4f8defe0752f8 | |
| parent | 4707e2085f995d33b64a37bf6589bf069fc959a9 (diff) | |
build: use xelatex as latex build-command
Although the commandline of latexmk specifies xelatex as a
sub-command, the commandline parameter "-pdf" enforces the usage of
pdflatex instead. Without this parameter, latexmk correctly uses
xelatex as latex build-command.
Also add the additional, xelatex-specific, temporary files to the
clean target and .gitignore.
This fixes a bug in commit 44797f7be06e047c2ecd56189c5bb11e7edf854f,
which implicitly changed from xelatex to pdflatex as latex
build-command.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | modules.mk | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -7,6 +7,7 @@ *.toc *.out *.snm +*.xdv *.vrb *.fls *.fdb_latexmk @@ -36,7 +36,7 @@ DEFCONF_FOLDER := $(CURDIR)/configs BUILD_COMMAND := latexmk BUILD_SUBCMD := xelatex -BUILD_ARGS := -f -halt-on-error -$(BUILD_SUBCMD) -bibtex -pdf +BUILD_ARGS := -f -halt-on-error -$(BUILD_SUBCMD) -bibtex ifeq ($(BUILD_VERBOSE),0) BUILD_ARGS += --interaction=batchmode -silent else @@ -4,7 +4,7 @@ PHONY := BASE_NAME = $(shell basename $(dir $(CURDIR))) -TMP_TEXFILES = *.aux *.log *.nav *.toc *.pdf *.snm \ +TMP_TEXFILES = *.aux *.log *.nav *.toc *.pdf *.snm *.xdv \ *.bbl *.blg *.out *.vrb *.fls *.fdb_latexmk PHONY += build |
