# make              all the variants (XeLaTeX)
# make ENGINE=pdflatex    or lualatex
# make euthyphro-a4.pdf      just one
ENGINE ?= xelatex
VARIANTS = euthyphro-a5 euthyphro-a4 euthyphro-two-columns euthyphro-book \
            euthyphro-study euthyphro-large-print euthyphro-screen euthyphro-booklet

all: $(VARIANTS:=.pdf)

%.pdf: %.tex euthyphro-common.tex euthyphro-text.tex
	$(ENGINE) -interaction=batchmode -halt-on-error $<

euthyphro-booklet.pdf: euthyphro-book.pdf

clean:
	rm -f *.aux *.log

.PHONY: all clean
