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

quickly test building with pdflatex, xelatex, lualatex

parent 26c5fac8
/pdflatex
/xelatex
/lualatex
PDFLATEX ?= pdflatex
XELATEX ?= xelatex
LUALATEX ?= lualatex
export TEXINPUTS := $(CURDIR)/..//:$(TEXINPUTS)
cmd%pdflatex = $(PDFLATEX)
cmd%xelatex = $(XELATEX)
cmd%lualatex = $(LUALATEX)
engines = pdflatex xelatex lualatex
targets = minimal minimal_handout tutorial
%/minimal:
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal.tex
%/minimal_handout:
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal_handout.tex
%/tutorial:
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../tutorial/tutorial.tex
all: $(engines)
$(foreach engine,$(engines),$(eval $(engine): $(patsubst %,$(engine)/%,$(targets))))
clean:
$(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