aboutsummaryrefslogtreecommitdiffstats
path: root/images/icons/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'images/icons/Makefile')
-rw-r--r--images/icons/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/images/icons/Makefile b/images/icons/Makefile
new file mode 100644
index 000000000..39428d154
--- /dev/null
+++ b/images/icons/Makefile
@@ -0,0 +1,31 @@
+
+IMAGES=add.png edit.png gear.png info.png menu.png \
+ notify_off.png star.png delete.png feed.png group.png \
+ lock.png notice.png notify_on.png user.png link.png
+
+DESTS=10/ 16/ 22/ 48/ \
+ $(addprefix 10/, $(IMAGES)) \
+ $(addprefix 16/, $(IMAGES)) \
+ $(addprefix 22/, $(IMAGES)) \
+ $(addprefix 48/, $(IMAGES))
+
+all: $(DESTS)
+
+%/:
+ mkdir $@
+
+10/%.png: %.png
+ convert $< -resize 10x10 $@
+
+16/%.png: %.png
+ convert $< -resize 16x16 $@
+
+22/%.png: %.png
+ convert $< -resize 22x22 $@
+
+48/%.png: %.png
+ convert $< -resize 48x48 $@
+
+
+
+