add future plans and TODO's
[mastervoorlichting16.git] / Makefile
1 DOC:=mv
2 LATEX?=pdflatex
3 LATEXFLAGS?=-file-line-error -halt-on-error -no-shell-escape
4 TEXS:=$(wildcard *.tex)
5
6 .PHONY: all clean
7 .SECONDARY: $(DOC).fmt
8
9 all: $(DOC).pdf
10
11 %.fmt: preamble.tex
12 $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
13
14 %.pdf: %.tex %.fmt $(TEXS)
15 $(LATEX) $(LATEXFLAGS) $<
16 $(LATEX) $(LATEXFLAGS) $<
17
18 clean:
19 $(RM) $(addprefix $(DOC).,aux fmt log nav out pdf snm toc vrb)