changeset 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 42a5337cbcdd
children 64680e72b554
files Makefile
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
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)