Subversion Repositories Tewi

Rev

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

Rev 130 Rev 131
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: installer.sh 130 2024-09-23 10:25:58Z nishi $
2
# $Id: installer.sh 131 2024-09-23 10:30:00Z nishi $
3
 
3
 
4
fail() {
4
fail() {
5
	rm -f tewi-service.exe
5
	rm -f tewi-service.exe
6
	rm -f tewi.exe
6
	rm -f tewi.exe
7
	rm -f generated.conf
7
	rm -f generated.conf
Line 20... Line 20...
20
cp Server/tewi.exe tewi.exe
20
cp Server/tewi.exe tewi.exe
21
make clean || fail
21
make clean || fail
22
make PLATFORM=$1-service -j4 || fail
22
make PLATFORM=$1-service -j4 || fail
23
cp Server/tewi.exe tewi-service.exe
23
cp Server/tewi.exe tewi-service.exe
24
cd Server
24
cd Server
25
../Tool/genconf "C:/Tewi" > ../generated.conf
25
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
26
../Tool/itworks > ../itworks.html
26
../Tool/itworks > ../itworks.html
27
makensis -DVERSION=$VERSION install.nsi
27
makensis -DVERSION=$VERSION install.nsi
28
cp install.exe ../install-nossl.exe
28
cp install.exe ../install-nossl.exe
29
rm -f tewi.exe tewi-service.exe
29
rm -f tewi.exe tewi-service.exe
30
cd ..
30
cd ..
Line 36... Line 36...
36
cp Server/tewi.exe tewi.exe
36
cp Server/tewi.exe tewi.exe
37
make clean || fail
37
make clean || fail
38
make PLATFORM=$1-service -j4 || fail
38
make PLATFORM=$1-service -j4 || fail
39
cp Server/tewi.exe tewi-service.exe
39
cp Server/tewi.exe tewi-service.exe
40
cd Server
40
cd Server
41
../Tool/genconf "C:/Tewi" > ../generated.conf
41
../Tool/genconf "C:/Tewi" modules dll > ../generated.conf
42
../Tool/itworks > ../itworks.html
42
../Tool/itworks > ../itworks.html
43
makensis -DVERSION=$VERSION install.nsi
43
makensis -DVERSION=$VERSION install.nsi
44
cp install.exe ../install-ssl.exe
44
cp install.exe ../install-ssl.exe
45
rm -f tewi.exe tewi-service.exe
45
rm -f tewi.exe tewi-service.exe
46
cd ..
46
cd ..