From: Neil Date: Sat, 20 Apr 2013 18:41:18 +0000 (+0200) Subject: Add makefile rules to produce releases X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=7a4cfb2fe0dc5139f695d928728a54e43ada42cc;p=erdslangetjie.git Add makefile rules to produce releases --- diff --git a/Makefile b/Makefile index a8f26bb..13ba3e1 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,18 @@ clean: find . -name *.swp -exec rm {} \; $(PYTHON) setup.py clean + +android_zip: + rm -f bane_pyweek_16.zip + zip -r bane_pyweek_16.zip android.txt run_game.py main.py data/level* data/sounds/ data/screens data/sprites/ data/tiles/ erdslangetjie/*py + + +tarball: + mkdir -p bane_pyweek_16 + tar -cf - data misc_stuff *.txt Makefile configure *pyw *py erdslangetjie/*py erdslangetjie/editor/*py | (cd bane_pyweek_16 && tar -xvpf -) + tar -caf bane_pyweek_16.tar.bz2 bane_pyweek_16 + rm -rf bane_pyweek_16 + # push changes push: #bzr push lp:erdslangetjie