File: create-win32-dist.sh

package info (click to toggle)
numptyphysics 0.2+svn157-0.3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 2,596 kB
  • ctags: 2,896
  • sloc: cpp: 18,280; sh: 810; makefile: 205
file content (31 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh -x
# simple script to prepare numptywin32 for release

# folder in which we create the binary distro
DIST=NumptyPhysicsWin32

# shared libraries to be put into the dist
DLLS="SDL.dll SDL_image.dll jpeg.dll libpng12-0.dll zlib1.dll"

# level files and data files
DATA="*.jpg *.png *.nph"

# misc files to be placed into the distro
MISC="README.win32"

# binary executable, when compiled
BINARY=Game.exe

# target name in distro folder (without .exe)
NAME=NumptyPhysics

make
rm -rf $DIST
mkdir $DIST
mkdir $DIST/data
cp i686/$BINARY $DIST/$NAME.exe
cp $DATA $DIST/data
cp $DLLS $DIST
cp $MISC $DIST
find $DIST