summaryrefslogtreecommitdiffstats
path: root/cv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cv/Makefile')
-rw-r--r--cv/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/cv/Makefile b/cv/Makefile
new file mode 100644
index 0000000..6f8b8ed
--- /dev/null
+++ b/cv/Makefile
@@ -0,0 +1,23 @@
+LOUT=lout
+PS2PDF=ps2pdf
+SHELL:=/bin/bash -O extglob
+
+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) -r3 -o $@ $<
+
+
+clean:
+ -rm !(Makefile|$(DEFINITIONS)|*.lou)