Commit 9fc06ce1 authored by Andreas Beckmann's avatar Andreas Beckmann

quickly test building with pdflatex, xelatex, lualatex

parent 26c5fac8
PDFLATEX ?= pdflatex
XELATEX ?= xelatex
LUALATEX ?= lualatex
cmd%pdflatex = $(PDFLATEX)
cmd%xelatex = $(XELATEX)
cmd%lualatex = $(LUALATEX)
engines = pdflatex xelatex lualatex
targets = minimal minimal_handout tutorial
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal.tex
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal_handout.tex
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../tutorial/tutorial.tex
all: $(engines)
$(foreach engine,$(engines),$(eval $(engine): $(patsubst %,$(engine)/%,$(targets))))
$(RM) -r $(engines)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment