Changeset 288 in Main


Ignore:
Timestamp:
Oct 9, 2024, 12:06:28 PM (5 weeks ago)
Author:
Nishi
Message:

build stuff

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Koakumafile

    r287 r288  
    66        while 1 {
    77                set suf ""
     8                set arg ""
    89                exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
    910                if { $once == 0 } {
    1011                        exec sed -i "s/undef BUILD_GUI/define BUILD_GUI/g" config.h
    1112                        set suf "-gui"
     13                        set arg " BUILD_GUI"
    1214                }
    1315                set ::env(DISPLAY) ":0"
     
    6365                        }
    6466                        set win "win$bits"
    65                         RunCommand "./installer.sh $win"
     67                        RunCommand "./installer.sh $win$arg"
    6668                        RunCommand "doas mkdir -p /raid/f/g/tewi/$win"
    6769                        RunCommand "doas mkdir -p /raid/ftp/pub/tewi/$win"
  • trunk/installer.sh

    r251 r288  
    2121
    2222sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
     23if [ ! "x$2" = "x" ]; then
     24        sed -i "s/undef $2/define $2/g" config.h
     25fi
    2326
    2427make clean || fail
     
    3740
    3841sed "s/define NO_SSL/undef NO_SSL/g" config.h.tmpl > config.h
     42if [ ! "x$2" = "x" ]; then
     43        sed -i "s/undef $2/define $2/g" config.h
     44fi
    3945
    4046make clean || fail
Note: See TracChangeset for help on using the changeset viewer.