source: source/Makefile@ 36:56d1b336ffda

Last change on this file since 36:56d1b336ffda was 36:56d1b336ffda, checked in by Stefano Rivera <stefano@…>, 8 years ago

Render SVGs to PNG

File size: 207 bytes
Line 
1SOURCES = $(shell find svg -name '*.svg')
2TARGETS = $(patsubst %.svg,%.png,$(SOURCES))
3
4all: $(TARGETS)
5
6clean:
7 rm -f $(TARGETS)
8
9%.png: %.svg
10 rsvg-convert $< > $@
11 optipng -o4 -preserve $@
12 advpng -z4 $@
Note: See TracBrowser for help on using the repository browser.