summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/europasscv/Makefile.europasscv
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-11-02 03:04:14 +0000
committerNorbert Preining <norbert@preining.info>2020-11-02 03:04:14 +0000
commitede2cee3dfac406ff8defae5014e86c839b852ca (patch)
tree1b7c1dd4c2f100dfd48aaf2f325649e49385e876 /macros/latex/contrib/europasscv/Makefile.europasscv
parentf3fbfce65a7de58853550aedf1b6e6acd5c29a1e (diff)
CTAN sync 202011020304
Diffstat (limited to 'macros/latex/contrib/europasscv/Makefile.europasscv')
-rw-r--r--macros/latex/contrib/europasscv/Makefile.europasscv28
1 files changed, 16 insertions, 12 deletions
diff --git a/macros/latex/contrib/europasscv/Makefile.europasscv b/macros/latex/contrib/europasscv/Makefile.europasscv
index 45e09a5354..7e5a304b90 100644
--- a/macros/latex/contrib/europasscv/Makefile.europasscv
+++ b/macros/latex/contrib/europasscv/Makefile.europasscv
@@ -1,4 +1,4 @@
-ICONS_SVG=$(wildcard *_europass_icon.svg)
+ICONS_SVG=$(wildcard icons/*_europass_icon.svg)
ICONS_PDF=$(ICONS_SVG:.svg=.pdf)
INSTALL = install -m 644
@@ -9,20 +9,20 @@ all: class documentation
pictures: icons europasslogo2013.pdf
europasslogo2013.pdf: europasslogo2013.svg
- inkscape $< --export-area-drawing --export-pdf $@
+ inkscape $< --export-area-drawing --export-type="pdf" --export-filename="$@"
# 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.temp.pdf: %_europass_icon.svg
+ inkscape $< --export-area-page --export-type="pdf" --export-filename="$@"
-%_europass_icon.ps : %_europass_icon.pdf.temp
+%_europass_icon.ps : %_europass_icon.temp.pdf
pdf2ps $< $@
%_europass_icon.pdf : %_europass_icon.ps
- ps2pdf $<
+ ps2pdf $< $@
documentation: class europasscv.pdf examples
@@ -35,12 +35,13 @@ class: pictures
package: class documentation tds
$(INSTALLDIR) europasscv/example
- $(INSTALL) *.svg europasscv
- $(INSTALL) *_europass_icon.pdf europasscv
+ $(INSTALLDIR) europasscv/icons
+ $(INSTALL) icons/*_europass_icon.pdf europasscv/icons
$(INSTALL) europasslogo2013.pdf europasscv
$(INSTALL) europasscv.cls europasscv
$(INSTALL) europasscv-bibliography.sty europasscv
- $(INSTALL) europasscv*.def europasscv
+ $(INSTALLDIR) europasscv/def
+ $(INSTALL) def/*.def europasscv/def
$(INSTALL) europasscv.tex europasscv
$(INSTALL) europasscv.pdf europasscv
$(INSTALL) europasscv_*en.tex europasscv/example
@@ -57,12 +58,14 @@ package: class documentation tds
tds: class documentation
$(INSTALLDIR) tds/tex/latex/europasscv
- $(INSTALL) *_europass_icon.pdf tds/tex/latex/europasscv
+ $(INSTALLDIR) tds/tex/latex/europasscv/icons
+ $(INSTALL) icons/*_europass_icon.pdf tds/tex/latex/europasscv/icons
$(INSTALL) europasslogo2013.pdf tds/tex/latex/europasscv
$(INSTALL) europasscv.cls tds/tex/latex/europasscv
$(INSTALL) europasscv-bibliography.sty tds/tex/latex/europasscv
- $(INSTALL) europasscv*.def tds/tex/latex/europasscv
- $(INSTALLDIR) tds/doc/latex/europasscv/example
+ $(INSTALLDIR) tds/tex/latex/europasscv/def
+ $(INSTALL) def/*.def tds/tex/latex/europasscv/def
+ $(INSTALLDIR) tds/doc/latex/europasscv/example
$(INSTALL) europasscv_*en.pdf tds/doc/latex/europasscv/example
$(INSTALL) europasscv_*en.tex tds/doc/latex/europasscv/example
$(INSTALL) europasscv_example.bib tds/doc/latex/europasscv/example
@@ -78,5 +81,6 @@ distclean:
clean: distclean
rm -f *.pdf
+ rm -f icons/*.pdf
.PHONY: all clean distclean tds package class documentation examples pictures