]> Nishi Git Mirror - tewi.git/commitdiff
update koakumafile
authorNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 04:33:13 +0000 (04:33 +0000)
committerNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 04:33:13 +0000 (04:33 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@232 8739d7e6-ffea-ec47-b151-bdff447c6205

Koakumafile

index bade4d4ede3bfe9fd38bc432409c287ac79c92fe..af0908a2378de42457d092803c006699e7fcb060 100644 (file)
@@ -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"
 }