summaryrefslogtreecommitdiff
path: root/personal/cv/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-12-07 19:58:25 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-12-07 20:29:31 +0100
commitdf679d9a57c218deeaac64e63be658d6b783e1d6 (patch)
treeeb91f0235890e37abc13882f9b7e325570f340d3 /personal/cv/Makefile
parente470dab312b37d21dd27755e4bf4b815e6380f02 (diff)
downloadmemory-leaks-df679d9a57c218deeaac64e63be658d6b783e1d6.tar.xz
Add "CV" """infrastructure"""
The phone and e-mail emojis take 2 columns when displayed, but I don't think Pandoc has any way to know that when parsing tables (unless there is some Unicode metadata marking those glyphs as wider than normal).
Diffstat (limited to 'personal/cv/Makefile')
-rw-r--r--personal/cv/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/personal/cv/Makefile b/personal/cv/Makefile
new file mode 100644
index 0000000..00715cd
--- /dev/null
+++ b/personal/cv/Makefile
@@ -0,0 +1,23 @@
+PDFs = $(patsubst %.md,results/%.pdf,$(wildcard *.md))
+inputs = $(patsubst %.md,results/%.md,$(wildcard *.md))
+
+pandoc_options = --verbose
+
+$(PDFs): pandoc_options += \
+--pdf-engine=xelatex \
+--include-in-header=fonts.tex \
+ -V mainfont="DejaVu Sans" -V colorlinks
+
+all: $(PDFs)
+
+results/%.pdf: results/%.md fonts.tex | results
+ pandoc $< $(pandoc_options) -o $@
+
+results/%.md: %.md add-personal-info.sh | results
+ ./add-personal-info.sh $< $@
+
+results:
+ mkdir $@
+
+clean:
+ -rm -r results