-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 684 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
LANGS=fr en
TARGETS=$(addprefix RaphaelPinson_,$(LANGS))
PDF_TARGETS=$(addsuffix .pdf,$(TARGETS))
HTML_TARGETS=$(addsuffix .html,$(TARGETS))
all: pdf html
pdf: $(PDF_TARGETS)
html: $(HTML_TARGETS)
gh-pages: html
mv $(HTML_TARGETS) /tmp
git checkout gh-pages
cd /tmp && mv $(HTML_TARGETS) $(CURDIR)
git commit -a -m "Regenerate gh-pages"
git push
git checkout master
frenchcv: RaphaelPinson_fr.pdf
englishcv: RaphaelPinson_en.pdf
%.pdf: %.tex
lualatex -interaction=batchmode $<
lualatex -interaction=batchmode $<
#xelatex -interaction=batchmode $<
#xelatex -interaction=batchmode $<
%.html: %.pdf
pdf2htmlEX --zoom=2 $<
clean:
rm -f *.aux *.log *.out
rm -f *.pdf