0
|
1 #mc40 is "On Device Storage"
|
|
2 #tc55 is "Internal Storage"
|
|
3
|
|
4 dest=/run/user/1000/gvfs/mtp*/*torage/Download
|
|
5 apk='bin/510ConnectbotMonitor-debug.apk'
|
|
6
|
|
7 all:
|
|
8 hg pull; hg update; rm -rf gen bin
|
|
9 android update project -p . -t android-16
|
|
10 ant debug
|
|
11
|
|
12 install:
|
|
13 cp $(apk) $(dest)
|
|
14 ls -al $(apk) $(dest)
|
|
15
|
8
|
16 buildicon:
|
|
17 cp -a base.510.icon.png res/drawable-xxxhdpi/icon.png
|
|
18 convert base.510.icon.png -resize 144x144 res/drawable-xxhdpi/icon.png
|
|
19 convert base.510.icon.png -resize 96x96 res/drawable-xhdpi/icon.png
|
|
20 convert base.510.icon.png -resize 72x72 res/drawable-hdpi/icon.png
|
|
21 convert base.510.icon.png -resize 48x48 res/drawable-mdpi/icon.png
|
|
22 convert base.510.icon.png -resize 36x36 res/drawable-ldpi/icon.png
|
|
23
|
|
24 convert res/drawable-xxxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxxhdpi/notification_icon.png
|
|
25 convert res/drawable-xxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxhdpi/notification_icon.png
|
|
26 convert res/drawable-xhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xhdpi/notification_icon.png
|
|
27 convert res/drawable-hdpi/icon.png -resize 50% -colorspace Gray res/drawable-hdpi/notification_icon.png
|
|
28 convert res/drawable-mdpi/icon.png -resize 50% -colorspace Gray res/drawable-mdpi/notification_icon.png
|
|
29 convert res/drawable-ldpi/icon.png -resize 50% -colorspace Gray res/drawable-ldpi/notification_icon.png
|
|
30
|
0
|
31 indentc:
|
|
32 indent --line-length100 \
|
|
33 --brace-indent4 \
|
|
34 --braces-on-if-line \
|
|
35 --braces-on-func-def-line \
|
|
36 --case-brace-indentation4 \
|
|
37 --case-indentation4 \
|
|
38 --comment-indentation60 \
|
|
39 --cuddle-else \
|
|
40 --declaration-comment-column60 \
|
|
41 --no-tabs \
|
|
42 -nbbo \
|
|
43 -npcs \
|
|
44 -nprs \
|
|
45 -npsl \
|
|
46 -saf -sai -saw \
|
|
47 -i4 \
|
|
48 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp)
|
|
49
|
|
50 indentjava:
|
|
51 astyle --style=java \
|
|
52 --attach-namespaces \
|
|
53 --attach-classes \
|
|
54 --indent-classes \
|
|
55 --indent-switches \
|
|
56 --indent-cases \
|
|
57 --indent-namespaces \
|
|
58 --break-blocks \
|
|
59 --pad-oper \
|
|
60 --pad-first-paren-out \
|
|
61 --pad-header \
|
|
62 --unpad-paren \
|
|
63 --delete-empty-lines \
|
|
64 --align-pointer=type \
|
|
65 --break-closing-brackets \
|
|
66 --keep-one-line-blocks \
|
|
67 --keep-one-line-statements \
|
|
68 --convert-tabs \
|
|
69 --break-after-logical \
|
|
70 --mode=java \
|
|
71 $(shell find . -iname *.java | grep -v /gen/)
|
|
72
|
|
73 docs:
|
1
|
74 (cd xml; make)
|
|
75
|