summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1eebc1376b6c0972126f0f17f616da6a336ad318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LATEXMK := latexmk
RESUME_FILE_BASE := Hallsby_Karl
SRC := $(RESUME_FILE_BASE).tex
OUT_PDF := $(RESUME_FILE_BASE).pdf

.DEFAULT_GOAL=all

.PHONY: all clean

all: pdf

.PHONY: pdf
pdf: $(OUT_PDF)
$(OUT_PDF): $(SRC)
	$(LATEXMK) $(SRC)

watch:
	$(LATEXMK) -pvc -view=none -halt-on-error

clean:
	$(LATEXMK) -c

distclean:
	$(LATEXMK) -C