summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4b6afdbd574e5340f5dcfd48362f5182aa67bc94 (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
25
26
LATEXMK = latexmk -interaction=nonstopmode

tcr.pdf: FORCE
	cd content && $(LATEXMK)

tcr-opt.pdf: FORCE
	cd content && $(LATEXMK) -r latexmk.opt

pdf: tcr.pdf tcr-opt.pdf

all: pdf test

test:
	+gmake -C test

clean: cleanpdf cleantest

cleanpdf:
	cd content && $(LATEXMK) -C
	cd content && $(LATEXMK) -r latexmk.opt -C

cleantest:
	+-gmake -C test clean

FORCE:
.PHONY: all pdf test clean cleanpdf cleantest FORCE