summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-05 23:26:59 +0000
committerKarl Berry <karl@freefriends.org>2015-03-05 23:26:59 +0000
commit984458cc11672d274a921045e5c6b153e4990beb (patch)
tree08cf1d7f15b69436121ff6d5c6f92b1777895ac9 /Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv
parent94c804f3e14cfc7bc3db28eeda8ea83737497a11 (diff)
europasscv (5mar15)
git-svn-id: svn://tug.org/texlive/trunk@36443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv')
-rw-r--r--Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv b/Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv
new file mode 100644
index 00000000000..730d277ff32
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/europasscv/Makefile.europasscv
@@ -0,0 +1,57 @@
+ICONS_SVG=$(wildcard *_europass_icon.svg)
+ICONS_PDF=$(ICONS_SVG:.svg=.pdf)
+
+all: class documentation
+
+pictures: icons europasslogo.pdf
+
+europasslogo.pdf: europasslogo.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 europasslogo.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
+
+clean: distclean
+ rm -f *.pdf \ No newline at end of file