Mercurial > 510Connectbot
comparison Makefile @ 523:775a81a78a2b stable-1.9.4-7
add more debug code
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 31 May 2024 18:53:22 -0600 |
parents | 5d55f83b4e87 |
children | b61919d8a701 |
comparison
equal
deleted
inserted
replaced
522:645d22a0e8cb | 523:775a81a78a2b |
---|---|
14 signapk:=$(shell cat ~/.signapk) | 14 signapk:=$(shell cat ~/.signapk) |
15 | 15 |
16 # path to google binaries on AndroidBuild | 16 # path to google binaries on AndroidBuild |
17 adb=/home/carl/Android/Sdk/platform-tools/adb | 17 adb=/home/carl/Android/Sdk/platform-tools/adb |
18 aapt=/home/carl/Android/Sdk/build-tools/33.0.0/aapt | 18 aapt=/home/carl/Android/Sdk/build-tools/33.0.0/aapt |
19 | |
20 # dropbox path | |
21 dropboxpathandroid:='AccuSpeech Mobile Dropbox/AccuSpeech/Software/Android' | |
19 | 22 |
20 ifeq ($(style),release) | 23 ifeq ($(style),release) |
21 task:=assembleArmRelease | 24 task:=assembleArmRelease |
22 debug:=0 | 25 debug:=0 |
23 else | 26 else |
136 $(adb) devices | 139 $(adb) devices |
137 echo installing $(debugapk) | 140 echo installing $(debugapk) |
138 $(adb) install -r -d $(debugapk) | 141 $(adb) install -r -d $(debugapk) |
139 | 142 |
140 logcat.device: | 143 logcat.device: |
144 $(adb) logcat -c | |
141 $(adb) logcat | 145 $(adb) logcat |
146 | |
147 push.dropbox: | |
148 cp -a -p $(apk) ~/$(dropboxpathandroid) | |
149 cp -a -p $(debugapk) ~/$(dropboxpathandroid) | |
142 | 150 |
143 push: | 151 push: |
144 # from from android build machine | 152 # from from android build machine |
145 hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true | 153 hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true |
146 hg push ssh://root@ns.five-ten-sg.com//usr/hg-repository/510Connectbot || /bin/true | 154 hg push ssh://root@ns.five-ten-sg.com//usr/hg-repository/510Connectbot || /bin/true |
158 # release procedure | 166 # release procedure |
159 # make any changes | 167 # make any changes |
160 # hg commit -m 'commit message' | 168 # hg commit -m 'commit message' |
161 # make build.asm.packages | 169 # make build.asm.packages |
162 # make push | 170 # make push |
171 # make push.dropbox | |
163 # make install.android | 172 # make install.android |