aboutsummaryrefslogtreecommitdiff
path: root/pdf/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-10-25 18:51:01 +0200
committern-peugnet <n.peugnet@free.fr>2021-10-25 18:51:01 +0200
commitb252faea132e42ebffa86104d4969a4ec7822a3c (patch)
treecf929ecd9aef0dc9c60e421e6ce2471de2f1af0c /pdf/Makefile
parentc772b8b1ec4c835c20630471a9e1208eb98adc55 (diff)
downloaddna-backup-b252faea132e42ebffa86104d4969a4ec7822a3c.tar.gz
dna-backup-b252faea132e42ebffa86104d4969a4ec7822a3c.zip
start redaction of intro + add biblio
had too update some .gitignore and Makefiles
Diffstat (limited to 'pdf/Makefile')
-rw-r--r--pdf/Makefile10
1 files changed, 4 insertions, 6 deletions
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