Mercurial > 510Connectbot
comparison Makefile @ 457:105815cce146 stable-1.9.3-3
minimum version android 5, target and compile version api 28
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Jan 2019 11:21:57 -0800 |
parents | 3f24984b435f |
children | a3239022798d |
comparison
equal
deleted
inserted
replaced
456:b00031b2d6ac | 457:105815cce146 |
---|---|
22 | 22 |
23 all: | 23 all: |
24 hg pull; hg update | 24 hg pull; hg update |
25 make builder | 25 make builder |
26 | 26 |
27 builder: prep | 27 builder: clean prep |
28 rm -rf app/build/* | |
29 echo -e "$(version)" >app/src/main/res/values/version.xml | |
30 cat app/src/main/res/values/version.xml | |
31 ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task) | 28 ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task) |
32 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk) | 29 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk) |
33 ls -al app/build/outputs/apk | 30 ls -al app/build/outputs/apk |
34 | 31 |
32 clean: | |
33 rm -rf app/build/* | |
34 rm -rf app/.externalNativeBuild || true | |
35 | |
35 prep: | 36 prep: |
37 echo -e "$(version)" >app/src/main/res/values/version.xml | |
36 (cd help; make) | 38 (cd help; make) |
37 | 39 |
38 genkey: | 40 genkey: |
39 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 | 41 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 |
40 | 42 |