annotate Makefile @ 9:42a5337cbcdd

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