969a93e43c
git-svn-id: file:///raid/svn-personal/tewi/trunk@78 8739d7e6-ffea-ec47-b151-bdff447c6205
22 lines
362 B
Bash
Executable File
22 lines
362 B
Bash
Executable File
#!/bin/sh
|
|
# $Id$
|
|
|
|
fail() {
|
|
rm -f tewi-service.exe
|
|
rm -f tewi.exe
|
|
exit 1
|
|
}
|
|
|
|
VERSION=`make get-version`
|
|
|
|
make clean || fail
|
|
make PLATFORM=$1 -j4 || fail
|
|
cp Server/tewi.exe tewi.exe
|
|
make clean || fail
|
|
make PLATFORM=$1-service -j4 || fail
|
|
cp Server/tewi.exe tewi-service.exe
|
|
cd Server
|
|
makensis -DVERSION=$VERSION install.nsi
|
|
rm -f tewi.exe tewi-service.exe
|
|
cd ..
|