Subversion Repositories Tewi

Rev

Rev 62 | Rev 78 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#!/bin/sh
# $Id: installer.sh 77 2024-09-19 10:54:21Z nishi $

fail() {
        rm -f tewi-service.exe
        rm -f tewi.exe
        exit 1
}

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=\"`make get-version`\" install.nsi
rm -f tewi.exe tewi-service.exe
cd ..