Subversion Repositories Tewi

Rev

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

Rev 230 Rev 231
Line 1... Line 1...
1
# $Id: Koakumafile 230 2024-10-03 04:29:44Z nishi $
1
# $Id: Koakumafile 231 2024-10-03 04:30:37Z nishi $
2
# vim: syntax=tcl
2
# vim: syntax=tcl
3
 
3
 
4
proc run {project_name} {
4
proc run {project_name} {
5
	exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
5
	exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
6
	set ::env(DISPLAY) ":0"
6
	set ::env(DISPLAY) ":0"
Line 27... Line 27...
27
	file delete archive.7z
27
	file delete archive.7z
28
 
28
 
29
	exec ./Tool/itworks > workdir/www/index.html
29
	exec ./Tool/itworks > workdir/www/index.html
30
	exec ./Tool/genconf C:/Tewi modules dll > workdir/etc/tewi.conf
30
	exec ./Tool/genconf C:/Tewi modules dll > workdir/etc/tewi.conf
31
	RunCommand "cp Binary/pbtewi.gif workdir/www/"
31
	RunCommand "cp Binary/pbtewi.gif workdir/www/"
-
 
32
	foreach filen [glob Module/*.dll] {
32
	RunCommand "cp Module/*.dll workdir/modules/"
33
		RunCommand "cp $filen workdir/modules/"
-
 
34
	}
33
	cd workdir
35
	cd workdir
34
	RunCommand "7z a ../archive.7z *"
36
	RunCommand "7z a ../archive.7z *"
35
	cd ..
37
	cd ..
36
	exec cat /usr/share/7z.sfx archive.7z > tewidist.exe
38
	exec cat /usr/share/7z.sfx archive.7z > tewidist.exe
37
	RunCommand "rm -rf workdir"
39
	RunCommand "rm -rf workdir"