Merge remote-tracking branch 'mjb/master'
authorKeith Packard <keithp@keithp.com>
Sun, 10 Feb 2013 09:21:52 +0000 (01:21 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Feb 2013 09:21:52 +0000 (01:21 -0800)
1  2 
altosdroid/Makefile.am
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java

@@@ -54,12 -54,18 +54,21 @@@ bin/AltosDroid-debug.apk: $(SRC) $(ALTO
  
  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: clean-local
        $(clean_command)
  
 +clean-local:
 +      rm -rf $(EXT_LIBDIR)
 +
  .PHONY: $(SRC_DIR)/BuildInfo.java