projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8822b66
)
More makefile tweaking
author
Neil
<neil@dip.sun.ac.za>
Sat, 20 Apr 2013 20:28:57 +0000
(22:28 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 20 Apr 2013 20:28:57 +0000
(22:28 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 665aa258ab8f23ad87c82a38404618bd7486a73a..4900dad0e2ad8993ae2573f4af452cbe780d8a84 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,17
+1,22
@@
#Makefile for erdslangetjie, to help with the final release
clean:
#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:
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
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 -)
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 -)
+
+tarball: dircopy
tar -caf bane_pyweek_16.tar.bz2 bane_pyweek_16
rm -rf bane_pyweek_16
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