annotate Makefile @ 13:5bf6d84cc5b8 stable-1.0.1

add showurl command
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 07:58:13 -0700
parents f769411a72ce
children 357bbbbcf201
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
10
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
4 style=release
0
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 dest=/run/user/1000/gvfs/mtp*/*torage/Download
10
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
6 apk='bin/510ConnectbotMonitor-$(style).apk'
0
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 all:
10
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
9 hg pull; hg update
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
10 make builder
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
11
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
12 builder:
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
13 rm -rf gen bin
0
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 android update project -p . -t android-16
10
f769411a72ce setup for signed release builds
Carl Byington <carl@five-ten-sg.com>
parents: 8
diff changeset
15 ant $(style)
0
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 install:
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 cp $(apk) $(dest)
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 ls -al $(apk) $(dest)
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20
8
e7cdd6eaaeb3 use custom icon
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
21 buildicon:
e7cdd6eaaeb3 use custom icon
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
22 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
23 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
24 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
25 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
26 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
27 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
28
e7cdd6eaaeb3 use custom icon
Carl Byington <carl@five-ten-sg.com>
parents: 1
diff changeset
29 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
30 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
31 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
32 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
33 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
34 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
35
0
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
36 indentc:
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
37 indent --line-length100 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
38 --brace-indent4 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
39 --braces-on-if-line \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
40 --braces-on-func-def-line \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
41 --case-brace-indentation4 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
42 --case-indentation4 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
43 --comment-indentation60 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
44 --cuddle-else \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
45 --declaration-comment-column60 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
46 --no-tabs \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
47 -nbbo \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
48 -npcs \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
49 -nprs \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
50 -npsl \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
51 -saf -sai -saw \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
52 -i4 \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
53 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp)
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
54
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
55 indentjava:
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
56 astyle --style=java \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
57 --attach-namespaces \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
58 --attach-classes \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
59 --indent-classes \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
60 --indent-switches \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
61 --indent-cases \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
62 --indent-namespaces \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
63 --break-blocks \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
64 --pad-oper \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
65 --pad-first-paren-out \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
66 --pad-header \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
67 --unpad-paren \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
68 --delete-empty-lines \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
69 --align-pointer=type \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
70 --break-closing-brackets \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
71 --keep-one-line-blocks \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
72 --keep-one-line-statements \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
73 --convert-tabs \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
74 --break-after-logical \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
75 --mode=java \
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
76 $(shell find . -iname *.java | grep -v /gen/)
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
77
5564580fe160 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
78 docs:
1
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
79 (cd xml; make)
f12df02aa228 add docs
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
80