5 SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
6 ICONS := $(addsuffix .png,$(SIZES))
7 ICONS += $(addsuffix .xpm,$(NAME) $(NAME)-16)
12 mkdir -p hicolor/$(@:.png=)/apps/
13 inkscape $(SVG) --without-gui \
14 --export-width=$(word 1,$(subst x, ,$(@:.png=))) \
15 --export-height=$(word 2,$(subst x, ,$(@:.png=))) \
16 --export-png=hicolor/$(@:.png=)/apps/$(NAME).png
20 convert hicolor/32x32/apps/$(NAME).png pixmaps/$@
24 convert hicolor/16x16/apps/$(NAME).png pixmaps/$@
27 $(RM) -r pixmaps hicolor