summaryrefslogtreecommitdiffstats
path: root/cv/Makefile
blob: 4d9af70ef7d6e8311b6ba3edc115568e9fdfb37d (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
LOUT=lout
PS2PDF=ps2pdf
SHELL:=/bin/bash -O extglob

FONTSDIR=fonts
FONTSDEF=cvfonts.ld
DEFINITIONS=cvdoc
MAIN=jeremy-zurcher-CV
DEPENDENCIES=experiences.lou formations.lou motivations.lou self.lou

all: $(MAIN).pdf

$(MAIN).ps: $(DEFINITIONS) $(DEPENDENCIES)

.SUFFIXES: .lou .ps .pdf

.ps.pdf :
	$(PS2PDF) $<

.lou.ps :
	$(LOUT) -F $(FONTSDIR) -r3 -o $@ $<

clean:
	-rm !(Makefile|$(DEFINITIONS)|$(FONTSDEF)|$(FONTSDIR)|*.lou)