X-Git-Url: https://git.ctpug.org.za/?p=erdslangetjie.git;a=blobdiff_plain;f=Makefile;h=63ae52e20a481960c029d504a51728f1eb1cdc5d;hp=665aa258ab8f23ad87c82a38404618bd7486a73a;hb=HEAD;hpb=8822b66defd8933315d743cd4a7f3d2e1cbb038e diff --git a/Makefile b/Makefile index 665aa25..63ae52e 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,22 @@ #Makefile for erdslangetjie, to help with the final release clean: - rm -f bane_pyweek_16.zip bane_pyweek_16.tar.bz2 + rm -f bane_pyweek_16.zip bane_pyweek_16.tar.bz2 bane_pyweek_16_win.zip find . -name *.pyc -exec rm {} \; find . -name *.swp -exec rm {} \; android_zip: - rm -f bane_pyweek_16.zip + rm -f bane_pyweek_16_android.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: +dircopy: 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 -cf - scripts data misc_stuff *.txt Makefile configure *py erdslangetjie/*py erdslangetjie/editor/*py | (cd bane_pyweek_16 && tar -xvpf -) + +tarball: dircopy tar -caf bane_pyweek_16.tar.bz2 bane_pyweek_16 rm -rf bane_pyweek_16 + +winzip: dircopy + zip -r bane_pyweek_16_win.zip bane_pyweek_16 + rm -rf bane_pyweek_16