Changeset 79 in Main


Ignore:
Timestamp:
Sep 19, 2024, 8:11:55 PM (8 weeks ago)
Author:
Nishi
Message:

installer

Location:
trunk
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r53 r79  
    3939        $(MAKE) -C ./Common $(FLAGS) clean
    4040        $(MAKE) -C ./Manpage $(FLAGS) clean
    41         rm -f ./Server/option
     41        rm -f ./Server/option install-*ssl.exe
  • trunk/config.h.tmpl

    r78 r79  
    1313
    1414#endif
     15
     16/*
     17vim: syntax=c
     18*/
  • trunk/installer.sh

    r78 r79  
    55        rm -f tewi-service.exe
    66        rm -f tewi.exe
     7        mv config.h.bak config.h
    78        exit 1
    89}
    910
    1011VERSION=`make get-version`
     12
     13sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
    1114
    1215make clean || fail
     
    1821cd Server
    1922makensis -DVERSION=$VERSION install.nsi
     23cp install.exe ../install-nossl.exe
    2024rm -f tewi.exe tewi-service.exe
    2125cd ..
     26
     27sed "s/define NO_SSL/undef NO_SSL/g" config.h.tmpl > config.h
     28
     29make clean || fail
     30make PLATFORM=$1 -j4 || fail
     31cp Server/tewi.exe tewi.exe
     32make clean || fail
     33make PLATFORM=$1-service -j4 || fail
     34cp Server/tewi.exe tewi-service.exe
     35cd Server
     36makensis -DVERSION=$VERSION install.nsi
     37cp install.exe ../install-ssl.exe
     38rm -f tewi.exe tewi-service.exe
     39cd ..
Note: See TracChangeset for help on using the changeset viewer.