android-rollerderby-penalty.../Makefile

32 lines
805 B
Makefile
Raw Normal View History

2012-05-26 20:41:05 -06:00
ALIAS = dartcatcher
KEYSTORE = /home/neale/.local/android.keystore
SDK = /opt/android-sdk
ZIPALIGN = $(SDK)/tools/zipalign
default: release-install
2012-05-26 16:22:14 -06:00
install: debug-install
debug-install: bin/PenaltyTimer-debug.apk
adb install -r $<
2012-05-26 16:48:47 -06:00
release: bin/PenaltyTimer-release.apk
2012-05-26 20:41:05 -06:00
release-install: bin/PenaltyTimer-release.apk
adb install -r $<
2012-04-05 19:37:15 -06:00
clean:
ant clean
2012-05-26 20:41:05 -06:00
bin/PenaltyTimer-release.apk: bin/PenaltyTimer-release-unaligned.apk
2012-05-26 22:40:06 -06:00
$(ZIPALIGN) -f 4 $< $@
2012-04-03 13:07:33 -06:00
2012-05-26 20:41:05 -06:00
bin/PenaltyTimer-release-unaligned.apk: bin/PenaltyTimer-release-unsigned.apk
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $(KEYSTORE) -signedjar $@ $< $(ALIAS)
bin/PenaltyTimer-release-unsigned.apk: src/org/woozle/penaltytimer/* res/*/*
2012-05-26 16:22:14 -06:00
ant release
2012-04-05 19:37:15 -06:00
bin/PenaltyTimer-debug.apk: src/org/woozle/penaltytimer/* res/*/*
2012-04-03 13:07:33 -06:00
ant debug