Line 1... |
Line 1... |
1 |
# $Id: Koakumafile 239 2024-10-03 04:59:36Z nishi $
|
1 |
# $Id: Koakumafile 281 2024-10-09 02:37:03Z 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 76... |
Line 76... |
76 |
RunCommand "cp Binary/pbtewi.gif workdir/www/"
|
76 |
RunCommand "cp Binary/pbtewi.gif workdir/www/"
|
77 |
RunCommand "cp Server/tewi.exe workdir/bin/"
|
77 |
RunCommand "cp Server/tewi.exe workdir/bin/"
|
78 |
foreach filen [glob Module/*.dll] {
|
78 |
foreach filen [glob Module/*.dll] {
|
79 |
RunCommand "cp $filen workdir/modules/"
|
79 |
RunCommand "cp $filen workdir/modules/"
|
80 |
}
|
80 |
}
|
81 |
cd workdir
|
- |
|
82 |
RunCommand "7z a ../archive.7z *"
|
- |
|
83 |
cd ..
|
- |
|
84 |
exec cat /usr/share/7z.sfx archive.7z > tewidist.exe
|
81 |
RunCommand "reisen 'Tewi HTTPd' @reisen.conf tewidist.exe"
|
85 |
RunCommand "rm -rf workdir"
|
82 |
RunCommand "rm -rf workdir"
|
86 |
RunCommand "doas mkdir -p /raid/f/g/tewi/$dirname"
|
83 |
RunCommand "doas mkdir -p /raid/f/g/tewi/$dirname"
|
87 |
RunCommand "doas cp tewidist.exe /raid/f/g/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe"
|
84 |
RunCommand "doas cp tewidist.exe /raid/f/g/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe"
|
88 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$dirname"
|
85 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$dirname"
|
89 |
RunCommand "doas cp tewidist.exe /raid/ftp/pub/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe"
|
86 |
RunCommand "doas cp tewidist.exe /raid/ftp/pub/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe"
|