mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[Android] Add release/debug APK switch (#4532)
References #2040. Includes https://github.com/koreader/android-luajit-launcher/pull/99
This commit is contained in:
4
Makefile
4
Makefile
@@ -365,8 +365,8 @@ androidupdate: all
|
||||
cd $(INSTALL_DIR)/koreader && 7z a -l -mx=1 \
|
||||
../../$(ANDROID_LAUNCHER_DIR)/assets/module/koreader-$(VERSION).7z * \
|
||||
-x!resources/fonts -x!resources/icons/src -x!spec
|
||||
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) apk
|
||||
cp $(ANDROID_LAUNCHER_DIR)/bin/NativeActivity-debug.apk \
|
||||
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) $(if $(KODEBUG), debug, release)
|
||||
cp $(ANDROID_LAUNCHER_DIR)/bin/NativeActivity.apk \
|
||||
koreader-android-$(MACHINE)-$(VERSION).apk
|
||||
|
||||
debianupdate: all
|
||||
|
||||
Submodule platform/android/luajit-launcher updated: 66af56c35d...00144b1c78
Reference in New Issue
Block a user