12 lines
199 B
Makefile
12 lines
199 B
Makefile
SVGS=$(shell find . -iname '*.svg')
|
|
SVG_PDFS=$(SVGS:=.pdf)
|
|
|
|
all: svg_pdfs
|
|
|
|
svg_pdfs: $(SVG_PDFS)
|
|
|
|
%.svg.pdf: %.svg
|
|
inkscape --export-type=pdf --export-filename "$@" "$<"
|
|
|
|
clean:
|
|
rm -rf $(SVG_PDFS)
|