projektor/examples/Makefile
2024-08-22 23:17:44 +02:00

18 lines
402 B
Makefile

NAMES = light dark section
TEX = $(foreach i,$(NAMES),$(i).tex)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
RM = rm -rf
all: $(PDF)
$(PDF): %.pdf: %.tex
$(TEXMK) $<
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
clean:
$(RM) $(PDF) \
$(foreach i,$(NAMES),_minted-$(i)/) \
$(foreach i,$(NAMES),$(foreach j,$(EXTS),$(i).$(j)))