Add pointlog2svg utility for the thesis
[numtypysics.git] / create-win32-dist.sh
blob43d4bee9252dc302c2d35450c19fa8aa46767526
1 #!/bin/sh -x
2 # simple script to prepare numptywin32 for release
4 # folder in which we create the binary distro
5 DIST=NumptyPhysicsWin32
7 # shared libraries to be put into the dist
8 DLLS="SDL.dll SDL_image.dll jpeg.dll libpng12-0.dll zlib1.dll"
10 # level files and data files
11 DATA="*.jpg *.png *.nph"
13 # misc files to be placed into the distro
14 MISC="README.win32"
16 # binary executable, when compiled
17 BINARY=Game.exe
19 # target name in distro folder (without .exe)
20 NAME=NumptyPhysics
22 make
23 rm -rf $DIST
24 mkdir $DIST
25 mkdir $DIST/data
26 cp i686/$BINARY $DIST/$NAME.exe
27 cp $DATA $DIST/data
28 cp $DLLS $DIST
29 cp $MISC $DIST
30 find $DIST