Mercurial > 510Connectbot
comparison Makefile @ 479:3a83f40439d7
only bind to the MonitorService for localhost monitor connections
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 28 Oct 2019 13:49:01 -0700 |
parents | a3239022798d |
children | 84bab82d1f58 |
comparison
equal
deleted
inserted
replaced
477:d7461da8145b | 479:3a83f40439d7 |
---|---|
1 #mc40 is "On Device Storage" | 1 #mc40 is "On Device Storage" |
2 #tc55 is "Internal Storage" | 2 #tc55 is "Internal Storage" |
3 | 3 |
4 na=$(shell find . -iname '*.c' -o -iname '*.h' -o -iname '*.cpp') | 4 na=$(shell find . -iname '*.c' -o -iname '*.h' -o -iname '*.cpp') |
5 style:=release | 5 style:=release |
6 dest:=/run/user/1000/gvfs/mtp*/*torage/Download | 6 dest:=../ASM/Installers |
7 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) | 7 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) |
8 apk:='app/build/outputs/apk/510Connectbot-$(ver).$(style).apk' | 8 apk:='app/build/outputs/apk/510Connectbot-$(ver).$(style).apk' |
9 id:=$(shell hg id --id || echo 1) | 9 id:=$(shell hg id --id || echo 1) |
10 da:=$(shell date '+%Y-%m-%dT%H:%M:%S') | 10 da:=$(shell date '+%Y-%m-%dT%H:%M:%S') |
11 version:=\ | 11 version:=\ |
29 make builder | 29 make builder |
30 | 30 |
31 builder: clean prep | 31 builder: clean prep |
32 ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task) | 32 ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task) |
33 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk) | 33 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk) |
34 ls -al app/build/outputs/apk | 34 cp $(apk) $(dest) |
35 ls -al $(dest) | |
35 | 36 |
36 clean: | 37 clean: |
37 rm -rf app/build/* | 38 rm -rf app/build/* |
38 rm -rf app/.externalNativeBuild || true | 39 rm -rf app/.externalNativeBuild || true |
39 | 40 |
45 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 | 46 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 |
46 | 47 |
47 docs: | 48 docs: |
48 (cd xml; make) | 49 (cd xml; make) |
49 (cd help; make) | 50 (cd help; make) |
50 | |
51 install: | |
52 cp $(apk) $(dest) | |
53 ls -al $(apk) $(dest) | |
54 | 51 |
55 buildicon: | 52 buildicon: |
56 convert base.510.icon.png -background white -resize 500x500 -extent 1024x500 google.play.store/feature.510.icon.png | 53 convert base.510.icon.png -background white -resize 500x500 -extent 1024x500 google.play.store/feature.510.icon.png |
57 cp -a base.510.icon.png app/src/main/res/drawable-xxxhdpi/icon.png | 54 cp -a base.510.icon.png app/src/main/res/drawable-xxxhdpi/icon.png |
58 convert base.510.icon.png -resize 144x144 app/src/main/res/drawable-xxhdpi/icon.png | 55 convert base.510.icon.png -resize 144x144 app/src/main/res/drawable-xxhdpi/icon.png |
115 --mode=java \ | 112 --mode=java \ |
116 $(shell find . -iname '*.java' | grep -v /gen/) | 113 $(shell find . -iname '*.java' | grep -v /gen/) |
117 | 114 |
118 internaldocs: | 115 internaldocs: |
119 doxygen | 116 doxygen |
117 | |
118 | |
119 build.asm.packages: | |
120 make builder style=release | |
121 hg revert --no-backup app/src/main/res/values/version.xml | |
122 # | |
123 make builder style=debug | |
124 hg revert --no-backup app/src/main/res/values/version.xml |