16 lines
307 B
Makefile
16 lines
307 B
Makefile
NAME = explications
|
|
|
|
TEX = $(NAME).tex
|
|
SRC = $(TEX)
|
|
PDF = $(TEX:.tex=.pdf)
|
|
|
|
TEXMK = latexmk -shell-escape -lualatex
|
|
|
|
all: $(PDF)
|
|
|
|
$(PDF): %.pdf: %.tex
|
|
$(TEXMK) $<
|
|
|
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
|
clean:
|
|
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|