18 lines
303 B
Makefile
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 $@
|