diff Makefile @ 8:e7cdd6eaaeb3

use custom icon
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 07:30:28 -0700
parents f12df02aa228
children f769411a72ce
line wrap: on
line diff
--- a/Makefile	Mon Jun 23 17:14:44 2014 -0700
+++ b/Makefile	Tue Jun 24 07:30:28 2014 -0700
@@ -13,6 +13,21 @@
 	cp $(apk) $(dest)
 	ls -al $(apk) $(dest)
 
+buildicon:
+	cp -a   base.510.icon.png                 res/drawable-xxxhdpi/icon.png
+	convert base.510.icon.png -resize 144x144 res/drawable-xxhdpi/icon.png
+	convert base.510.icon.png -resize 96x96   res/drawable-xhdpi/icon.png
+	convert base.510.icon.png -resize 72x72   res/drawable-hdpi/icon.png
+	convert base.510.icon.png -resize 48x48   res/drawable-mdpi/icon.png
+	convert base.510.icon.png -resize 36x36   res/drawable-ldpi/icon.png
+
+	convert res/drawable-xxxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxxhdpi/notification_icon.png
+	convert res/drawable-xxhdpi/icon.png  -resize 50% -colorspace Gray res/drawable-xxhdpi/notification_icon.png
+	convert res/drawable-xhdpi/icon.png   -resize 50% -colorspace Gray res/drawable-xhdpi/notification_icon.png
+	convert res/drawable-hdpi/icon.png    -resize 50% -colorspace Gray res/drawable-hdpi/notification_icon.png
+	convert res/drawable-mdpi/icon.png    -resize 50% -colorspace Gray res/drawable-mdpi/notification_icon.png
+	convert res/drawable-ldpi/icon.png    -resize 50% -colorspace Gray res/drawable-ldpi/notification_icon.png
+
 indentc:
 	indent --line-length100 \
 		   --brace-indent4 \