From 9bee7d9b6be861909d8c89767f6eabf007f76612 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 29 Sep 2020 20:08:31 -0700 Subject: [PATCH] altosdroid: Copy generated .apks to bin directory This places them in the same location as the previous build system. Signed-off-by: Keith Packard --- altosdroid/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- 2.30.2