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/docs/build
sbapp/sideband*.egg-info
sbapp/sbapp*.egg-info
.buildozer
requirements.txt
@ -27,3 +29,4 @@ build
dist
docs/build
sideband*.egg-info
sbapp*.egg-info

View File

@ -8,13 +8,18 @@ install:
make -C sbapp install
console:
make -C sbapp conole
make -C sbapp console
clean:
@echo Cleaning...
-rm -r ./build
-rm -r ./dist
cleanbuildozer:
make -C sbapp clean
cleanall: clean cleanbuildozer
build_wheel:
python3 setup.py sdist bdist_wheel

View File

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