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:
parent
9107147742
commit
4ba106a6a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user