Mercurial > 510Connectbot
annotate Makefile @ 115:bc59a399f627
remove the keystroke debug code
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 14:37:46 -0700 |
parents | 1aff8d06d5ef |
children | 524f9d41e046 |
rev | line source |
---|---|
0 | 1 #mc40 is "On Device Storage" |
2 #tc55 is "Internal Storage" | |
3 | |
4 style=release | |
5 dest=/run/user/1000/gvfs/mtp*/*torage/Download | |
6 apk='bin/510Connectbot-$(style).apk' | |
7 | |
8 all: | |
73
accf93be8c12
update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
1
diff
changeset
|
9 hg pull; hg update |
accf93be8c12
update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
1
diff
changeset
|
10 make builder |
accf93be8c12
update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
1
diff
changeset
|
11 |
accf93be8c12
update documentation; use xterm-256color as default terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
1
diff
changeset
|
12 builder: |
74 | 13 rm -rf gen bin |
0 | 14 ndk-build clean; V=1 ndk-build |
15 android update project -p . -t android-16 | |
16 ant $(style) | |
17 | |
18 genkey: | |
1
ab7313512aba
missing comma in DN, regenerate keystore
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
19 keytool -genkeypair -keystore 510Connectbot.keystore -alias 510Connectbot -dname "cn=510Connectbot , ou=510Connectbot, o=five-ten-sg, o=com, c=US" -keyalg RSA -keysize 2048 -validity 10000 |
0 | 20 |
21 docs: | |
22 (cd xml; make) | |
23 | |
24 install: | |
25 cp $(apk) $(dest) | |
26 ls -al $(apk) $(dest) | |
27 | |
28 | |
29 indentc: | |
30 indent --line-length100 \ | |
31 --brace-indent4 \ | |
32 --braces-on-if-line \ | |
33 --braces-on-func-def-line \ | |
34 --case-brace-indentation4 \ | |
35 --case-indentation4 \ | |
36 --comment-indentation60 \ | |
37 --cuddle-else \ | |
38 --declaration-comment-column60 \ | |
39 --no-tabs \ | |
40 -nbbo \ | |
41 -npcs \ | |
42 -nprs \ | |
43 -npsl \ | |
44 -saf -sai -saw \ | |
45 -i4 \ | |
46 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp) | |
47 | |
48 | |
49 indentjava: | |
50 astyle --style=java \ | |
51 --attach-namespaces \ | |
52 --attach-classes \ | |
53 --indent-classes \ | |
54 --indent-switches \ | |
55 --indent-cases \ | |
56 --indent-namespaces \ | |
57 --break-blocks \ | |
58 --pad-oper \ | |
59 --pad-header \ | |
60 --unpad-paren \ | |
61 --delete-empty-lines \ | |
62 --align-pointer=type \ | |
63 --break-closing-brackets \ | |
64 --keep-one-line-blocks \ | |
65 --keep-one-line-statements \ | |
66 --convert-tabs \ | |
67 --break-after-logical \ | |
68 --mode=java \ | |
69 $(shell find . -iname *.java | grep -v /gen/) | |
70 | |
71 internaldocs: | |
72 doxygen | |
73 |