summaryrefslogtreecommitdiff
path: root/makefile
blob: 9539d3bd704d1797899e6b0e90ddb4d4eab344b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DOCNAME=presentation
PDFLATEX="pdflatex -interaction=nonstopmode"

.PHONY: $(DOCNAME).pdf all clean

all: $(DOCNAME).pdf

$(DOCNAME).pdf: $(DOCNAME).tex
	latexmk -pdf -pdflatex=$(PDFLATEX) -use-make $(DOCNAME).tex

watch: $(DOCNAME).tex
	latexmk -pvc -pdf -pdflatex=$(PDFLATEX) -use-make $(DOCNAME).tex

clean:
	latexmk -CA

install:
	cp $(DOCNAME).pdf ${out}/