summaryrefslogtreecommitdiff
path: root/altosdroid/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-02-10 01:21:52 -0800
committerKeith Packard <keithp@keithp.com>2013-02-10 01:21:52 -0800
commitbf88c5f829ea5d32043431945e862a9f6c96740a (patch)
tree6ab88a057b3f69f16b8d048ae132bcbe31812dfe /altosdroid/Makefile.am
parent32270296671aac3b3ba15f9c1777bcdd77b9c36c (diff)
parentd05a77992df983b9fa79f0e2b20d2c6b387c180c (diff)
Merge remote-tracking branch 'mjb/master'
Diffstat (limited to 'altosdroid/Makefile.am')
-rw-r--r--altosdroid/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am
index cc74b7a8..39f3c2b6 100644
--- a/altosdroid/Makefile.am
+++ b/altosdroid/Makefile.am
@@ -54,6 +54,15 @@ bin/AltosDroid-debug.apk: $(SRC) $(ALTOSLIB)
bin/AltosDroid-release.apk: $(SRC) $(ALTOSLIB)
ant release
+
+sign:
+ jarsigner -keystore release.keystore \
+ -signedjar bin/AltosDroid-release-signed.apk \
+ bin/AltosDroid-release-unsigned.apk AltosDroid
+ $(SDK)/tools/zipalign -f 4 \
+ bin/AltosDroid-release-signed.apk \
+ bin/AltosDroid-release.apk
+
endif
clean: clean-local