Mercurial > 510Connectbot
annotate Makefile @ 48:1e931ef5f776 tn5250
start tn5250 integration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 11 Jun 2014 10:11:29 -0700 |
parents | ab7313512aba |
children | accf93be8c12 |
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: | |
9 hg pull; hg update; rm -rf gen bin | |
10 ndk-build clean; V=1 ndk-build | |
11 android update project -p . -t android-16 | |
12 ant $(style) | |
13 | |
14 genkey: | |
1
ab7313512aba
missing comma in DN, regenerate keystore
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
15 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 | 16 |
17 docs: | |
18 (cd xml; make) | |
19 | |
20 install: | |
21 cp $(apk) $(dest) | |
22 ls -al $(apk) $(dest) | |
23 | |
24 | |
25 indentc: | |
26 indent --line-length100 \ | |
27 --brace-indent4 \ | |
28 --braces-on-if-line \ | |
29 --braces-on-func-def-line \ | |
30 --case-brace-indentation4 \ | |
31 --case-indentation4 \ | |
32 --comment-indentation60 \ | |
33 --cuddle-else \ | |
34 --declaration-comment-column60 \ | |
35 --no-tabs \ | |
36 -nbbo \ | |
37 -npcs \ | |
38 -nprs \ | |
39 -npsl \ | |
40 -saf -sai -saw \ | |
41 -i4 \ | |
42 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp) | |
43 | |
44 | |
45 indentjava: | |
46 astyle --style=java \ | |
47 --attach-namespaces \ | |
48 --attach-classes \ | |
49 --indent-classes \ | |
50 --indent-switches \ | |
51 --indent-cases \ | |
52 --indent-namespaces \ | |
53 --break-blocks \ | |
54 --pad-oper \ | |
55 --pad-header \ | |
56 --unpad-paren \ | |
57 --delete-empty-lines \ | |
58 --align-pointer=type \ | |
59 --break-closing-brackets \ | |
60 --keep-one-line-blocks \ | |
61 --keep-one-line-statements \ | |
62 --convert-tabs \ | |
63 --break-after-logical \ | |
64 --mode=java \ | |
65 $(shell find . -iname *.java | grep -v /gen/) | |
66 | |
67 internaldocs: | |
68 doxygen | |
69 |