Mercurial > 510Connectbot
annotate Makefile @ 167:9000d274d470 stable-1.8.1
add ctrl keys for attn and sysreq
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 24 Jun 2014 12:47:22 -0700 |
parents | 13ca2a7a63f3 |
children | 823fa39c55c5 |
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 | |
116 | 28 buildicon: |
159
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
29 cp -a base.510.icon.png res/drawable-xxxhdpi/icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
30 convert base.510.icon.png -resize 144x144 res/drawable-xxhdpi/icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
31 convert base.510.icon.png -resize 96x96 res/drawable-xhdpi/icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
32 convert base.510.icon.png -resize 72x72 res/drawable-hdpi/icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
33 convert base.510.icon.png -resize 48x48 res/drawable-mdpi/icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
34 convert base.510.icon.png -resize 36x36 res/drawable-ldpi/icon.png |
116 | 35 |
159
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
36 convert res/drawable-xxxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxxhdpi/notification_icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
37 convert res/drawable-xxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxhdpi/notification_icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
38 convert res/drawable-xhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xhdpi/notification_icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
39 convert res/drawable-hdpi/icon.png -resize 50% -colorspace Gray res/drawable-hdpi/notification_icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
40 convert res/drawable-mdpi/icon.png -resize 50% -colorspace Gray res/drawable-mdpi/notification_icon.png |
13ca2a7a63f3
add icons up to 192x192 xxxhdpi
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
41 convert res/drawable-ldpi/icon.png -resize 50% -colorspace Gray res/drawable-ldpi/notification_icon.png |
0 | 42 |
43 indentc: | |
44 indent --line-length100 \ | |
45 --brace-indent4 \ | |
46 --braces-on-if-line \ | |
47 --braces-on-func-def-line \ | |
48 --case-brace-indentation4 \ | |
49 --case-indentation4 \ | |
50 --comment-indentation60 \ | |
51 --cuddle-else \ | |
52 --declaration-comment-column60 \ | |
53 --no-tabs \ | |
54 -nbbo \ | |
55 -npcs \ | |
56 -nprs \ | |
57 -npsl \ | |
58 -saf -sai -saw \ | |
59 -i4 \ | |
60 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp) | |
61 | |
62 | |
63 indentjava: | |
64 astyle --style=java \ | |
65 --attach-namespaces \ | |
66 --attach-classes \ | |
67 --indent-classes \ | |
68 --indent-switches \ | |
69 --indent-cases \ | |
70 --indent-namespaces \ | |
71 --break-blocks \ | |
72 --pad-oper \ | |
73 --pad-header \ | |
74 --unpad-paren \ | |
75 --delete-empty-lines \ | |
76 --align-pointer=type \ | |
77 --break-closing-brackets \ | |
78 --keep-one-line-blocks \ | |
79 --keep-one-line-statements \ | |
80 --convert-tabs \ | |
81 --break-after-logical \ | |
82 --mode=java \ | |
83 $(shell find . -iname *.java | grep -v /gen/) | |
84 | |
85 internaldocs: | |
86 doxygen | |
87 |