2024-02-01 15:16:54 +01:00
|
|
|
NAME = document
|
2023-10-03 12:08:51 +02:00
|
|
|
|
2024-02-01 15:16:54 +01:00
|
|
|
TEX = $(NAME).tex
|
|
|
|
SRC = $(TEX)
|
|
|
|
PDF = $(TEX:.tex=.pdf)
|
2023-10-03 12:08:51 +02:00
|
|
|
|
2024-03-10 12:01:20 +01:00
|
|
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
2023-10-03 12:08:51 +02:00
|
|
|
|
|
|
|
all: $(PDF)
|
|
|
|
|
|
|
|
$(PDF): %.pdf: %.tex
|
|
|
|
$(TEXMK) $<
|
|
|
|
|
2024-03-25 09:50:38 +01:00
|
|
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc xmpdata
|
2023-10-03 12:08:51 +02:00
|
|
|
clean:
|
2024-03-25 09:50:38 +01:00
|
|
|
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext)) pdfa.xmpi
|