summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2013-03-07 20:49:41 +1300
committerMike Beattie <mike@ethernal.org>2013-03-07 20:49:41 +1300
commit89f8bb52ea858f059374474c0adda3cd5095a589 (patch)
tree1073066d780862cf14690bd3a13151e8b2f04eea
parent6ff45bef719bafd2c827e479186c8fadf6f779aa (diff)
altosdroid: adjust release Makefile target
* Rename target * Add dependency on unsigned release APK * use $(ZIPALIGN) variable Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r--altosdroid/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am
index d21cacd8..3dbabdd7 100644
--- a/altosdroid/Makefile.am
+++ b/altosdroid/Makefile.am
@@ -72,11 +72,11 @@ bin/AltosDroid-debug.apk: $(SRC) $(ALTOSLIB) $(SUPPORT_V4) $(GOOGLE_PLAY_SERVICE
bin/AltosDroid-release-unsigned.apk: $(SRC) $(ALTOSLIB) $(SUPPORT_V4) $(GOOGLE_PLAY_SERVICES_LIB)
ant release
-sign:
+release: bin/AltosDroid-release-unsigned.apk
jarsigner -keystore release.keystore \
-signedjar bin/AltosDroid-release-signed.apk \
bin/AltosDroid-release-unsigned.apk AltosDroid
- $(SDK)/tools/zipalign -f 4 \
+ $(ZIPALIGN) -f 4 \
bin/AltosDroid-release-signed.apk \
bin/AltosDroid-release.apk