From: Keith Packard Date: Wed, 30 Sep 2020 03:08:31 +0000 (-0700) Subject: altosdroid: Copy generated .apks to bin directory X-Git-Tag: 1.9.5~1^2~2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=9bee7d9b6be861909d8c89767f6eabf007f76612 altosdroid: Copy generated .apks to bin directory This places them in the same location as the previous build system. Signed-off-by: Keith Packard --- diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am index 7fb16404..f9f69662 100644 --- a/altosdroid/Makefile.am +++ b/altosdroid/Makefile.am @@ -3,8 +3,10 @@ REL_APK=app/build/outputs/apk/release/app-release.apk if ANDROID all_target=$(DBG_APK) +all_target += bin/AltosDroid-debug.apk if ANDROID_RELEASE all_target+=$(REL_APK) +all_target += bin/AltosDroid-release.apk endif else all_target= @@ -53,6 +55,14 @@ SRC=$(JAVA_SRC) $(DRAWABLES) $(RES) all: $(all_target) +bin/AltosDroid-debug.apk: $(DBG_APK) + mkdir -p bin + cp $^ $@ + +bin/AltosDroid-release.apk: $(REL_APK) + mkdir -p bin + cp $^ $@ + .NOTPARALLEL: $(ALTOSLIB): $(ALTOSLIB_SRCDIR)/$(ALTOSLIB_JAR)