Subversion Repositories Tewi

Rev

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

Rev 287 Rev 288
Line 1... Line 1...
1
# $Id: Koakumafile 287 2024-10-09 02:58:07Z nishi $
1
# $Id: Koakumafile 288 2024-10-09 03:06:28Z nishi $
2
# vim: syntax=tcl
2
# vim: syntax=tcl
3
 
3
 
4
proc run {project_name} {
4
proc run {project_name} {
5
	set once 1
5
	set once 1
6
	while 1 {
6
	while 1 {
7
		set suf ""
7
		set suf ""
-
 
8
		set arg ""
8
		exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
9
		exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
9
		if { $once == 0 } {
10
		if { $once == 0 } {
10
			exec sed -i "s/undef BUILD_GUI/define BUILD_GUI/g" config.h
11
			exec sed -i "s/undef BUILD_GUI/define BUILD_GUI/g" config.h
11
			set suf "-gui"
12
			set suf "-gui"
-
 
13
			set arg " BUILD_GUI"
12
		}
14
		}
13
		set ::env(DISPLAY) ":0"
15
		set ::env(DISPLAY) ":0"
14
		RunCommand "make clean"
16
		RunCommand "make clean"
15
		set dirname ""
17
		set dirname ""
16
		if { "$project_name" == "Tewi-BCC" } {
18
		if { "$project_name" == "Tewi-BCC" } {
Line 60... Line 62...
60
				foreach filen [glob openssl/lib/mingw/x64/*] {
62
				foreach filen [glob openssl/lib/mingw/x64/*] {
61
					RunCommand "cp $filen openssl/lib/"
63
					RunCommand "cp $filen openssl/lib/"
62
				}
64
				}
63
			}
65
			}
64
			set win "win$bits"
66
			set win "win$bits"
65
			RunCommand "./installer.sh $win"
67
			RunCommand "./installer.sh $win$arg"
66
			RunCommand "doas mkdir -p /raid/f/g/tewi/$win"
68
			RunCommand "doas mkdir -p /raid/f/g/tewi/$win"
67
			RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$win"
69
			RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$win"
68
			RunCommand "doas cp install-ssl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-ssl$suf.exe"
70
			RunCommand "doas cp install-ssl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-ssl$suf.exe"
69
			RunCommand "doas cp install-nossl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-nossl$suf.exe"
71
			RunCommand "doas cp install-nossl.exe /raid/f/g/tewi/$win/tewiinst$bits-[exec make get-version]-nossl$suf.exe"
70
			RunCommand "doas cp install-ssl.exe /raid/ftp/pub/tewi/$win/tewiinst$bits-[exec make get-version]-ssl$suf.exe"
72
			RunCommand "doas cp install-ssl.exe /raid/ftp/pub/tewi/$win/tewiinst$bits-[exec make get-version]-ssl$suf.exe"