21 lines
458 B
Makefile
21 lines
458 B
Makefile
NAME = slides
|
|
TEX = $(NAME).tex
|
|
SRC = $(TEX)
|
|
PDF = $(TEX:.tex=.pdf)
|
|
|
|
TEXMK = latexmk -lualatex
|
|
WGET = wget -q --show-progress
|
|
|
|
|
|
all: $(PDF)
|
|
$(PDF): $(SRC)
|
|
@$(TEXMK) $(TEX)
|
|
$(TEXMK) $(FLAGS) $(TEX)
|
|
|
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
|
|
clean:
|
|
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
|
|
|
updatepackage:
|
|
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \
|
|
-O projektor.sty
|