-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (45 loc) · 1.51 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
ICONS_SVG=$(wildcard icons/*_icon.svg)
ICONS_PDF=$(ICONS_SVG:.svg=.pdf)
all: class documentation
pictures: icons europasslogo2013.pdf
europasslogo2013.pdf: icons/europasslogo2013.svg
inkscape $< --export-area-drawing --export-pdf $@
# convert from pdf to ps then back to pdf to avoid the pdftex warning "PDF
# inclusion: multiple pdfs with page group included in a single page"
icons: $(ICONS_SVG) $(ICONS_PDF)
%_europass_icon.pdf.temp : %_europass_icon.svg
inkscape $< --export-area-page --export-pdf $@
%_europass_icon.ps : %_europass_icon.pdf.temp
pdf2ps $< $@
%_europass_icon.pdf : %_europass_icon.ps
ps2pdf $< $@
documentation: class resume-de-Lampros_Papadimitriou.pdf resume-en-Lampros_Papadimitriou.pdf
resume-de-Lampros_Papadimitriou.pdf: resume-de-Lampros_Papadimitriou.tex
pdflatex $<
pdflatex $<
resume-en-Lampros_Papadimitriou.pdf: resume-en-Lampros_Papadimitriou.tex
pdflatex $<
pdflatex $<
class: pictures
package: class documentation
mkdir -p mypasscv/example
cp *.svg mypasscv
cp *_europass_icon.pdf mypasscv
cp europasslogo2013.pdf mypasscv
cp mypasscv.cls mypasscv
cp mypasscv*.def mypasscv
cp mypasscv.tex mypasscv
cp mypasscv.pdf mypasscv
cp mypasscv_en.tex mypasscv/example
cp mypasscv_en.pdf mypasscv/example
cp README mypasscv
cp Makefile mypasscv/Makefile.mypasscv
tar -cvf mypasscv.tar mypasscv
gzip -f mypasscv.tar
rm -fr mypasscv
distclean:
rm -f *~ *.synctex.gz *.aux *.log *.out *.backup *.toc *.temp
cleanicons:
rm -r icons/*.pdf
clean: distclean cleanicons
rm -f *.pdf