# HG changeset patch # User Stefano Rivera # Date 1378656926 -7200 # Node ID 62b9eac8e236afc2854e04ff996d86eb94a8b599 # Parent b9c29fd56b1e26b2fbe5da4c4f4d28f76cd89375 24 and 48 are probably useful diff -r b9c29fd56b1e -r 62b9eac8e236 data/icons/werewolf-sonata_24.png Binary file data/icons/werewolf-sonata_24.png has changed diff -r b9c29fd56b1e -r 62b9eac8e236 data/icons/werewolf-sonata_48.png Binary file data/icons/werewolf-sonata_48.png has changed diff -r b9c29fd56b1e -r 62b9eac8e236 source/Makefile --- a/source/Makefile Sun Sep 08 18:12:54 2013 +0200 +++ b/source/Makefile Sun Sep 08 18:15:26 2013 +0200 @@ -1,6 +1,6 @@ IMG_SOURCES = $(shell find images -name '*.svg') IMG_TARGETS = $(patsubst %.svg,../data/%.png,$(IMG_SOURCES)) -ICONS = _16.png _32.png _64.png _128.png .xpm .icns .ico +ICONS = _16.png _24.png _32.png _48.png _64.png _128.png .xpm .icns .ico ICO_TARGETS = $(patsubst %,../data/icons/werewolf-sonata%,$(ICONS)) OPTIMIZE = 1 @@ -54,6 +54,13 @@ advpng -z4 $@ endif +../data/icons/%_24.png: icons/%.svg + inkscape --export-png $@ --export-width 24 --export-height 24 $< +ifeq ($(OPTIMIZE),1) + optipng -o4 -preserve $@ + advpng -z4 $@ +endif + ../data/icons/%_16.png: icons/%.svg inkscape --export-png $@ --export-width 16 --export-height 16 $< ifeq ($(OPTIMIZE),1)