blob: 71d907819590d16b55d2b08efc5ebfe29a943fed (
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
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
|
ICONS_SVG=$(wildcard *_europass_icon.svg)
ICONS_PDF=$(ICONS_SVG:.svg=.pdf)
all: class documentation
pictures: icons europasslogo2013.pdf
europasslogo2013.pdf: 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 europasscv.pdf europasscv_en.pdf
europasscv.pdf: europasscv.tex
pdflatex $<
pdflatex $<
europasscv_en.pdf: europasscv_en.tex
pdflatex $<
pdflatex $<
class: pictures
package: class documentation
mkdir -p europasscv/example
cp *.svg europasscv
cp *_europass_icon.pdf europasscv
cp europasslogo2013.pdf europasscv
cp europasscv.cls europasscv
cp europasscv*.def europasscv
cp europasscv.tex europasscv
cp europasscv.pdf europasscv
cp europasscv_en.tex europasscv/example
cp europasscv_en.pdf europasscv/example
cp README europasscv
cp Makefile europasscv/Makefile.europasscv
tar -cvf europasscv.tar europasscv
gzip -f europasscv.tar
rm -fr europasscv
distclean:
rm -f *~ *.synctex.gz *.aux *.log *.out *.backup *.toc *.temp
clean: distclean
rm -f *.pdf
|