Subversion Repositories Tewi

Rev

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

Rev 234 Rev 235
Line 1... Line 1...
1
# $Id: Koakumafile 234 2024-10-03 04:36:52Z nishi $
1
# $Id: Koakumafile 235 2024-10-03 04:40:57Z 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 25... Line 25...
25
		RunCommand "make"
25
		RunCommand "make"
26
	}
26
	}
27
	file mkdir workdir
27
	file mkdir workdir
28
	file mkdir workdir/etc
28
	file mkdir workdir/etc
29
	file mkdir workdir/www
29
	file mkdir workdir/www
-
 
30
	file mkdir workdir/bin
30
	file mkdir workdir/modules
31
	file mkdir workdir/modules
31
	file delete archive.7z
32
	file delete archive.7z
32
 
33
 
33
	exec ./Tool/itworks > workdir/www/index.html
34
	exec ./Tool/itworks > workdir/www/index.html
34
	exec ./Tool/genconf C:/Tewi modules dll > workdir/etc/tewi.conf
35
	exec ./Tool/genconf C:/Tewi modules dll > workdir/etc/tewi.conf
35
	RunCommand "cp Binary/pbtewi.gif workdir/www/"
36
	RunCommand "cp Binary/pbtewi.gif workdir/www/"
-
 
37
	RunCommand "cp Server/tewi.exe workdir/bin/"
36
	foreach filen [glob Module/*.dll] {
38
	foreach filen [glob Module/*.dll] {
37
		RunCommand "cp $filen workdir/modules/"
39
		RunCommand "cp $filen workdir/modules/"
38
	}
40
	}
39
	cd workdir
41
	cd workdir
40
	RunCommand "7z a ../archive.7z *"
42
	RunCommand "7z a ../archive.7z *"