diff 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
line wrap: on
line diff
--- a/Makefile	Sun Oct 20 14:47:27 2019 -0700
+++ b/Makefile	Mon Oct 28 13:49:01 2019 -0700
@@ -3,7 +3,7 @@
 
 na=$(shell find . -iname '*.c' -o -iname '*.h' -o -iname '*.cpp')
 style:=release
-dest:=/run/user/1000/gvfs/mtp*/*torage/Download
+dest:=../ASM/Installers
 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2)
 apk:='app/build/outputs/apk/510Connectbot-$(ver).$(style).apk'
 id:=$(shell hg id --id || echo 1)
@@ -31,7 +31,8 @@
 builder: clean prep
 	ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task)
 	mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk)
-	ls -al app/build/outputs/apk
+	cp $(apk) $(dest)
+	ls -al $(dest)
 
 clean:
 	rm -rf app/build/*
@@ -48,10 +49,6 @@
 	(cd xml; make)
 	(cd help; make)
 
-install:
-	cp $(apk) $(dest)
-	ls -al $(apk) $(dest)
-
 buildicon:
 	convert base.510.icon.png -background white -resize 500x500 -extent 1024x500 google.play.store/feature.510.icon.png
 	cp -a   base.510.icon.png                 app/src/main/res/drawable-xxxhdpi/icon.png
@@ -117,3 +114,11 @@
 
 internaldocs:
 	doxygen
+
+
+build.asm.packages:
+	make builder style=release
+	hg revert --no-backup app/src/main/res/values/version.xml
+	#
+	make builder style=debug
+	hg revert --no-backup app/src/main/res/values/version.xml