summaryrefslogtreecommitdiffstats
path: root/cv/Makefile
blob: 3c8bd44da54819279d85d7cf02da070810ccdf0e (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= achievements.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)