From 2906807f4341eef0e23f91356675595c89715490 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 22 Oct 2021 12:19:46 +0200 Subject: first add of latex doc --- pdf/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pdf/Makefile (limited to 'pdf/Makefile') 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 -- cgit v1.2.3