Makefile 502 Bytes
Newer Older
Lukas Nagel's avatar
Lukas Nagel committed
1
versionsgraph=\
Lukas Nagel's avatar
Lukas Nagel committed
2
3
4
5
6
7
8
9
10
11
	ex1-graph.pdf \
	ex1-graph-precommit.pdf \
	ex2-graph-precommit.pdf \
	ex2-graph.pdf \
	ex3-graph-premerge.pdf \
	ex3-graph.pdf \
	merge-fast-forward-premerge.pdf \
	merge-fast-forward.pdf \
	merge-three-way-premerge.pdf \
	merge-three-way.pdf \
Lukas Nagel's avatar
Lukas Nagel committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

all=\
	$(versionsgraph)

default: $(all)

$(all): theme.tex
$(versionsgraph): versiongraph.tex

%.pdf: %.tex
	latexrun --latex-cmd lualatex -o $@ -O $*.out $<

polish:
	rm -rf *.out

clean: polish
	rm -f *.pdf

.PHONY: polish workingtree