mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
[Android] Set flavor at build time
This commit is contained in:
parent
42346d8197
commit
ae0861eda8
2
Makefile
2
Makefile
@ -352,7 +352,7 @@ androidupdate: all
|
||||
cd $(INSTALL_DIR)/koreader && 7z a -l -m0=lzma2 -mx=1 \
|
||||
../../$(ANDROID_LAUNCHER_DIR)/assets/module/koreader-$(VERSION).7z * \
|
||||
-x!resources/fonts -x!resources/icons/src -x!spec
|
||||
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) $(if $(KODEBUG), debug, release) ANDROID_VERSION=$(ANDROID_VERSION) ANDROID_NAME=$(ANDROID_NAME)
|
||||
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) $(if $(KODEBUG), debug, release) ANDROID_VERSION=$(ANDROID_VERSION) ANDROID_NAME=$(ANDROID_NAME) ANDROID_FLAVOR=$(ANDROID_FLAVOR)
|
||||
cp $(ANDROID_LAUNCHER_DIR)/bin/NativeActivity.apk \
|
||||
koreader-android-$(MACHINE)-$(VERSION).apk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user