commit 4af1c2cbc4c92a41581bae5c723a34c1981ef13a
parent 24676288a759ec4c0e3aeca0705357044c77f07c
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 5 Mar 2016 09:27:31 +0100
kivy: add release to Makefile
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/Makefile b/gui/kivy/Makefile
@@ -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