2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

android: improve update rule

Remove old in-tree build artifacts that could conflict (`assets/libs` & `assets/module`).
This commit is contained in:
Benoit Pierre 2024-08-17 22:23:21 +02:00 committed by Frans de Jonge
parent 9107147742
commit 4ba106a6a3

View File

@ -68,6 +68,8 @@ update: all
# Note: do not remove the module directory so there's no need
# for `mk7z.sh` to always recreate `assets.7z` from scratch.
rm -rf $(ANDROID_LIBS)
# Remove old in-tree build artifacts that could conflict.
rm -rf $(ANDROID_LAUNCHER_DIR)/assets/{libs,module}
# APK version
mkdir -p $(ANDROID_ASSETS)/module $(ANDROID_LIBS)
echo $(VERSION) >$(ANDROID_ASSETS)/module/version.txt