Expolibre-3-www/htdocs/expolibre-2/svg/Makefile
2016-06-24 11:12:10 +02:00

18 lines
303 B
Makefile

WIDTH=1200
HEIGHT=1800
SVG=$(wildcard *.svg)
PDF=$(SVG:.svg=.pdf)
PNG=$(SVG:.svg=.png)
all : ${PDF} ${PNG}
%.pdf : %.svg
@inkscape $< --export-text-to-path --export-pdf=$@
@echo Conversion PDF de $@
%.png : %.svg
@inkscape $< -w ${WIDTH} -h ${HEIGHT} --export-png=$@
@echo Conversion PDF de $@