diff options
| author | Keith Packard <keithp@keithp.com> | 2014-09-13 15:23:40 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-09-13 15:23:40 -0700 |
| commit | 93d1cedc94358ebf5c2af537a25a242f6c19954c (patch) | |
| tree | 2f50bae9858cc16610821ea7cdccec2c3d0f7dba /altosdroid | |
| parent | 2731486c12678a7d3bd7ec79e74a2fcaf20845bd (diff) | |
altosdroid: Automatically sign the released version if the key is available
Look in ~/altusmetrumllc for release.keystore and Passphrase and
enable building and signing of the release binary.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid')
| -rw-r--r-- | altosdroid/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am index d5784483..59704aad 100644 --- a/altosdroid/Makefile.am +++ b/altosdroid/Makefile.am @@ -1,5 +1,8 @@ if ANDROID -all_target=bin/AltosDroid-debug.apk bin/AltosDroid-release-unsigned.apk +all_target=bin/AltosDroid-debug.apk +if ANDROID_RELEASE +all_target+=bin/AltosDroid-release.apk +endif else all_target= endif @@ -76,7 +79,8 @@ bin/AltosDroid-release-unsigned.apk: $(SRC) $(ALTOSLIB) $(SUPPORT_V4) $(GOOGLE_P bin/AltosDroid-release.apk: bin/AltosDroid-release-unsigned.apk jarsigner -sigalg SHA1withDSA -digestalg SHA1 \ - -keystore release.keystore \ + -keystore ~/altusmetrumllc/release.keystore \ + -storepass:file ~/altusmetrumllc/Passphrase \ -signedjar bin/AltosDroid-release-signed.apk \ bin/AltosDroid-release-unsigned.apk AltosDroid $(ZIPALIGN) -f 4 \ |
