Mercurial > 510ConnectbotMonitor
comparison Makefile @ 10:f769411a72ce
setup for signed release builds
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 24 Jun 2014 07:35:55 -0700 |
parents | e7cdd6eaaeb3 |
children | 357bbbbcf201 |
comparison
equal
deleted
inserted
replaced
9:42a5337cbcdd | 10:f769411a72ce |
---|---|
1 #mc40 is "On Device Storage" | 1 #mc40 is "On Device Storage" |
2 #tc55 is "Internal Storage" | 2 #tc55 is "Internal Storage" |
3 | 3 |
4 style=release | |
4 dest=/run/user/1000/gvfs/mtp*/*torage/Download | 5 dest=/run/user/1000/gvfs/mtp*/*torage/Download |
5 apk='bin/510ConnectbotMonitor-debug.apk' | 6 apk='bin/510ConnectbotMonitor-$(style).apk' |
6 | 7 |
7 all: | 8 all: |
8 hg pull; hg update; rm -rf gen bin | 9 hg pull; hg update |
10 make builder | |
11 | |
12 builder: | |
13 rm -rf gen bin | |
9 android update project -p . -t android-16 | 14 android update project -p . -t android-16 |
10 ant debug | 15 ant $(style) |
11 | 16 |
12 install: | 17 install: |
13 cp $(apk) $(dest) | 18 cp $(apk) $(dest) |
14 ls -al $(apk) $(dest) | 19 ls -al $(apk) $(dest) |
15 | 20 |