diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-10-22 12:19:46 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-10-22 12:20:23 +0200 |
commit | 2906807f4341eef0e23f91356675595c89715490 (patch) | |
tree | 8124124d9c0d5f33c42bcfa3d95e19f02f1955e5 /pdf/Makefile | |
parent | 2c6a08c5c3b0f7346fbfa3e2ee86b248ef6d78f7 (diff) | |
download | dna-backup-2906807f4341eef0e23f91356675595c89715490.tar.gz dna-backup-2906807f4341eef0e23f91356675595c89715490.zip |
first add of latex doc
Diffstat (limited to 'pdf/Makefile')
-rw-r--r-- | pdf/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pdf/Makefile b/pdf/Makefile new file mode 100644 index 0000000..8df3d66 --- /dev/null +++ b/pdf/Makefile @@ -0,0 +1,23 @@ +FILES = doc +TEX = $(FILES:%=%.tex) +PDF = $(FILES:%=%.pdf) + +# Debug flags +ifdef DEBUG +LATEXMK_FLAGS += -verbose +else +LATEXMK_FLAGS += -quiet +endif + +all pdf: $(PDF) + +%.pdf: %.tex + latexmk $(LATEXMK_FLAGS) -pdf -f $< + +mostlyclean: + latexmk $(LATEXMK_FLAGS) -c + +clean: + latexmk $(LATEXMK_FLAGS) -C + +.PHONY: all pdf mostlyclean clean |