diff Makefile @ 10:f769411a72ce

setup for signed release builds
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 07:35:55 -0700
parents e7cdd6eaaeb3
children 357bbbbcf201
line wrap: on
line diff
--- a/Makefile	Tue Jun 24 07:32:11 2014 -0700
+++ b/Makefile	Tue Jun 24 07:35:55 2014 -0700
@@ -1,13 +1,18 @@
 #mc40 is "On Device Storage"
 #tc55 is "Internal Storage"
 
+style=release
 dest=/run/user/1000/gvfs/mtp*/*torage/Download
-apk='bin/510ConnectbotMonitor-debug.apk'
+apk='bin/510ConnectbotMonitor-$(style).apk'
 
 all:
-	hg pull; hg update; rm -rf gen bin
+	hg pull; hg update
+	make builder
+
+builder:
+	rm -rf gen bin
 	android update project -p . -t android-16
-	ant debug
+	ant $(style)
 
 install:
 	cp $(apk) $(dest)