Add makefile rules to produce releases
authorNeil <neil@dip.sun.ac.za>
Sat, 20 Apr 2013 18:41:18 +0000 (20:41 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 20 Apr 2013 18:41:18 +0000 (20:41 +0200)
Makefile

index a8f26bb12c413a82034bd26b59cc2c08b4d43a0a..13ba3e19caf5a6b739a56d194e0ca5032b85af11 100644 (file)
--- 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