From: Nishi Date: Thu, 3 Oct 2024 04:33:13 +0000 (+0000) Subject: update koakumafile X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=76b3ad32417fe0e44a0ade3dc01ba0c89101172d;p=tewi.git update koakumafile git-svn-id: file:///raid/svn-personal/tewi/trunk@232 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Koakumafile b/Koakumafile index bade4d4..af0908a 100644 --- a/Koakumafile +++ b/Koakumafile @@ -5,18 +5,22 @@ proc run {project_name} { exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h set ::env(DISPLAY) ":0" RunCommand "make clean" + set dirname "" if { "$project_name" == "Tewi-BCC" } { set ::env(LANG) "ja_JP.UTF-8" set ::env(BORLAND) "C:/borland/bcc55" RunCommand "make PLATFORM=bcc" set ::env(LANG) "en_US.UTF-8" + set dirname "bcc" } elseif { "$project_name" == "Tewi-VC6" } { RunCommand "make PLATFORM=vc6" + set dirname "vc6" } elseif { "$project_name" == "Tewi-Watcom" } { set ::env(WATCOM) "/usr/watcom" set ::env(INCLUDE) "/usr/watcom/h" set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" RunCommand "make PLATFORM=watcom" + set dirname "watcom" } else { RunCommand "make" } @@ -37,4 +41,6 @@ proc run {project_name} { cd .. exec cat /usr/share/7z.sfx archive.7z > tewidist.exe RunCommand "rm -rf workdir" + RunCommand "doas mkdir -p /raid-nishi/f/g/tewi/$dirname" + RunCommand "doas cp tewidist.exe /raid-nishi/f/g/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe" }