From b252faea132e42ebffa86104d4969a4ec7822a3c Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 25 Oct 2021 18:51:01 +0200 Subject: start redaction of intro + add biblio had too update some .gitignore and Makefiles --- pdf/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'pdf/Makefile') diff --git a/pdf/Makefile b/pdf/Makefile index 72c81fe..1472f07 100644 --- a/pdf/Makefile +++ b/pdf/Makefile @@ -1,22 +1,20 @@ FILES = doc -TEX = $(FILES:%=%.tex) PDF = $(FILES:%=%.pdf) # Debug flags -ifdef DEBUG -LATEXMK_FLAGS += -verbose -else +ifndef DEBUG LATEXMK_FLAGS += -quiet endif all pdf: $(PDF) -%.pdf: %.tex assets/*.tex +.SECONDEXPANSION: +%.pdf: %.tex $$(wildcard $$*.bib) assets/*.tex latexmk $(LATEXMK_FLAGS) -pdf -f $< mostlyclean: latexmk $(LATEXMK_FLAGS) -c - rm -f $(FILES:%=%.synctex.*) + rm -f $(FILES:%=%.synctex.*) $(FILES:%=%.bbl) rm -f assets/*.aux clean: mostlyclean -- cgit v1.2.3