projektor/examples/Makefile

19 lines
402 B
Makefile
Raw Permalink Normal View History

2024-08-22 23:17:44 +02:00
NAMES = light dark section
2023-05-29 18:44:28 +02:00
TEX = $(foreach i,$(NAMES),$(i).tex)
PDF = $(TEX:.tex=.pdf)
2024-04-20 15:38:00 +02:00
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
2023-05-29 18:44:28 +02:00
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)))