Updated makefiles

This commit is contained in:
Mark Qvist 2022-07-07 22:34:01 +02:00
parent b4f0ff722e
commit c072f2dbfb
3 changed files with 22 additions and 12 deletions

3
.gitignore vendored
View File

@ -12,6 +12,8 @@ sbapp/build
sbapp/dist sbapp/dist
sbapp/docs/build sbapp/docs/build
sbapp/sideband*.egg-info sbapp/sideband*.egg-info
sbapp/sbapp*.egg-info
.buildozer .buildozer
requirements.txt requirements.txt
@ -27,3 +29,4 @@ build
dist dist
docs/build docs/build
sideband*.egg-info sideband*.egg-info
sbapp*.egg-info

View File

@ -1,21 +1,26 @@
devapk: devapk:
make -C sbapp devapk make -C sbapp devapk
apk: apk:
make -C sbapp apk make -C sbapp apk
install: install:
make -C sbapp install make -C sbapp install
console: console:
make -C sbapp conole make -C sbapp console
clean: clean:
@echo Cleaning... @echo Cleaning...
-rm -r ./build -rm -r ./build
-rm -r ./dist -rm -r ./dist
cleanbuildozer:
make -C sbapp clean
cleanall: clean cleanbuildozer
build_wheel: build_wheel:
python3 setup.py sdist bdist_wheel python3 setup.py sdist bdist_wheel
release: build_wheel apk release: build_wheel apk

View File

@ -3,11 +3,15 @@ all: prepare debug
prepare: activate cleanrns getrns prepare: activate cleanrns getrns
clean: clean:
buildozer android clean
-(rm ./__pycache__ -r) -(rm ./__pycache__ -r)
-(rm ./app_storage -r) -(rm ./app_storage -r)
-(rm ./bin -r) -(rm ./bin -r)
cleanlibs:
buildozer android clean
cleanall: clean cleanlibs
activate: activate:
(. venv/bin/activate) (. venv/bin/activate)
@ -17,9 +21,7 @@ debug:
release: release:
buildozer android release buildozer android release
postbuild: postbuild: cleanrns
cleanrns
@echo Done
apk: prepare release postbuild apk: prepare release postbuild