electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

Makefile (969B)


      1 PYTHON = python3
      2 
      3 # needs kivy installed or in PYTHONPATH
      4 
      5 .PHONY: theming apk clean
      6 
      7 theming:
      8 	#bash -c 'for i in network lightning; do convert -background none theming/light/$i.{svg,png}; done'
      9 	$(PYTHON) -m kivy.atlas ../../electrum/gui/kivy/theming/light 1024 ../../electrum/gui/kivy/theming/light/*.png
     10 prepare:
     11 	# running pre build setup
     12 	@cp buildozer.spec ../../buildozer.spec
     13 	# copy electrum to main.py
     14 	@cp ../../run_electrum ../../main.py
     15 	@-if [ ! -d "../../.buildozer" ];then \
     16 		cd ../..; buildozer android debug;\
     17 		cp -f blacklist.txt .buildozer/android/platform/python-for-android/src/blacklist.txt;\
     18 		rm -rf ./.buildozer/android/platform/python-for-android/dist;\
     19 	fi
     20 apk:
     21 	@make prepare
     22 	@-cd ../..; buildozer android debug deploy run
     23 	@make clean
     24 release:
     25 	@make prepare
     26 	@-cd ../..; buildozer android release
     27 	@make clean
     28 clean:
     29 	# Cleaning up
     30 	# rename main.py to electrum
     31 	@-rm ../../main.py
     32 	# remove buildozer.spec
     33 	@-rm ../../buildozer.spec