source: source/Makefile@ 44:2ba3c443c328

Last change on this file since 44:2ba3c443c328 was 44:2ba3c443c328, checked in by Stefano Rivera <stefano@…>, 8 years ago

Sanish resolution

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