Subversion Repositories Tewi

Rev

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

Rev 208 Rev 251
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: installer.sh 208 2024-10-02 02:59:59Z nishi $
2
# $Id: installer.sh 251 2024-10-03 21:15:19Z nishi $
3
 
3
 
4
if [ "x$1" = "x" ]; then
4
if [ "x$1" = "x" ]; then
5
	echo "Usage: $0 win32"
5
	echo "Usage: $0 win32"
6
	echo "       $0 win64"
6
	echo "       $0 win64"
7
	exit 1
7
	exit 1
Line 28... Line 28...
28
make PLATFORM=$1-service -j4 PREFIX=C:/Tewi || fail
28
make PLATFORM=$1-service -j4 PREFIX=C:/Tewi || fail
29
cp Server/tewi.exe tewi-service.exe
29
cp Server/tewi.exe tewi-service.exe
30
cd Server
30
cd Server
31
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
31
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
32
../Tool/itworks > ../itworks.html
32
../Tool/itworks > ../itworks.html
33
makensis -DVERSION=$VERSION install.nsi
33
makensis -DVERSION=$VERSION install.nsi || fail
34
cp install.exe ../install-nossl.exe
34
cp install.exe ../install-nossl.exe
35
rm -f tewi.exe tewi-service.exe
35
rm -f tewi.exe tewi-service.exe
36
cd ..
36
cd ..
37
 
37
 
38
sed "s/define NO_SSL/undef NO_SSL/g" config.h.tmpl > config.h
38
sed "s/define NO_SSL/undef NO_SSL/g" config.h.tmpl > config.h
Line 44... Line 44...
44
make PLATFORM=$1-service -j4 PREFIX=C:/Tewi || fail
44
make PLATFORM=$1-service -j4 PREFIX=C:/Tewi || fail
45
cp Server/tewi.exe tewi-service.exe
45
cp Server/tewi.exe tewi-service.exe
46
cd Server
46
cd Server
47
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
47
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
48
../Tool/itworks > ../itworks.html
48
../Tool/itworks > ../itworks.html
49
makensis -DVERSION=$VERSION install.nsi
49
makensis -DVERSION=$VERSION install.nsi || fail
50
cp install.exe ../install-ssl.exe
50
cp install.exe ../install-ssl.exe
51
rm -f tewi.exe tewi-service.exe
51
rm -f tewi.exe tewi-service.exe
52
cd ..
52
cd ..
53
 
53
 
54
rm itworks.html
54
rm itworks.html