kivy: add release to Makefile

This commit is contained in:
ThomasV 2016-03-05 09:27:31 +01:00
parent 24676288a7
commit 4af1c2cbc4
1 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,7 @@ PYTHON = python
theming:
$(PYTHON) -m kivy.atlas theming/light 1024 theming/light/*.png
apk:
prepare:
# running pre build setup
@cp tools/buildozer.spec ../../buildozer.spec
# copy electrum to main.py
@ -15,8 +15,14 @@ apk:
cp -f gui/kivy/tools/blacklist.txt .buildozer/android/platform/python-for-android/src/blacklist.txt;\
rm -rf ./.buildozer/android/platform/python-for-android/dist;\
fi
apk:
@make prepare
@-cd ../..; buildozer android debug deploy run
@make clean
release:
@make prepare
@-cd ../..; buildozer android release
@make clean
clean:
# Cleaning up
# rename main.py to electrum