25 lines
544 B
Makefile
25 lines
544 B
Makefile
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))
|
|
|
|
updateclass:
|
|
@$(WGET) https://git.mylloon.fr/Paris7/rapport-stage/raw/branch/main/rapstage.cls \
|
|
-O rapstage.cls
|