Subversion Repositories Tewi

Rev

Rev 222 | Rev 255 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 222 Rev 253
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: make-installer.sh 222 2024-10-03 03:09:40Z nishi $
2
# $Id: make-installer.sh 253 2024-10-04 03:13:36Z nishi $
3
 
3
 
4
if [ "x$1" = "x" ]; then
4
if [ "x$1" = "x" ]; then
5
	echo "Usage: $0 win32|win64|vc6|bcc [description]"
5
	echo "Usage: $0 win32|win64|vc6|bcc [description]"
6
	exit 1
6
	exit 1
7
fi
7
fi
Line 21... Line 21...
21
make PLATFORM=$1 PREFIX=C:/Tewi -j4 || fail
21
make PLATFORM=$1 PREFIX=C:/Tewi -j4 || fail
22
cp Server/tewi.exe tewi.exe
22
cp Server/tewi.exe tewi.exe
23
cd Server
23
cd Server
24
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
24
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
25
../Tool/itworks > ../itworks.html
25
../Tool/itworks > ../itworks.html
26
makensis /inputcharset utf8 -DVERSION=$VERSION -DONLY_EXEC install.nsi
26
makensis -DVERSION=$VERSION -DONLY_EXEC install.nsi
27
cp install.exe ../install.exe
27
cp install.exe ../install.exe
28
cd ..
28
cd ..
29
rm tewi.exe
29
rm tewi.exe
30
rm itworks.html
30
rm itworks.html
31
rm generated.conf
31
rm generated.conf