Expolibre-2-www/svg/Makefile

18 lines
303 B
Makefile
Raw Permalink Normal View History

2020-04-04 04:13:42 +02:00
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 $@