2024-02-07 12:14:38 +01:00
|
|
|
NAME = rapport
|
|
|
|
BIBFILE = sources
|
|
|
|
|
|
|
|
TEX = $(NAME).tex
|
|
|
|
SRC = $(TEX)
|
|
|
|
PDF = $(TEX:.tex=.pdf)
|
|
|
|
|
|
|
|
TEXMK = latexmk -shell-escape -lualatex
|
|
|
|
WGET = wget -q --show-progress
|
|
|
|
|
|
|
|
all: $(PDF)
|
|
|
|
|
|
|
|
$(PDF): %.pdf: %.tex
|
|
|
|
@$(TEXMK) $< >/dev/null
|
|
|
|
bibtex $(BIBFILE)
|
|
|
|
@$(TEXMK) $< >/dev/null
|
|
|
|
$(TEXMK) $<
|
|
|
|
|
|
|
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg
|
|
|
|
clean:
|
|
|
|
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
|
|
|
|
2024-02-07 12:16:17 +01:00
|
|
|
updateclass:
|
2024-02-07 12:14:38 +01:00
|
|
|
@$(WGET) https://git.mylloon.fr/Paris7/rapport-stage-template/raw/branch/main/rapstage.cls \
|
|
|
|
-O rapstage.cls
|