summaryrefslogtreecommitdiffstats
path: root/cv/Makefile
blob: 6e3c25b720da7644435ef3759d768b1b64d6f4e1 (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 cvdocng
DEPENDENCIES= achievments.lou experiences.lou formations.lou motivations.lou self.lou

all: jeremy-zurcher-CV.pdf jeremy.zurcher-CV.pdf

jeremy-zurcher-CV.ps: cvdoc $(DEPENDENCIES)
jeremy.zurcher-CV.ps: cvdocng $(DEPENDENCIES)

.SUFFIXES: .lou .ps .pdf

.ps.pdf :
	$(PS2PDF) $<

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

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