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