--- deliantra/Deliantra-Client/makebin.win32 2007/03/06 13:19:08 1.9 +++ deliantra/Deliantra-Client/makebin.win32 2011/12/26 22:30:21 1.23 @@ -2,31 +2,43 @@ [ -e Makefile ] && make clean -( - cd ../Crossfire || exit 69 - [ -e Makefile ] && make clean - rsync -avessh --modify-window=1 . vm:/c/Crossfire/. -) && -rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude rocketmen_sound_effects && +if true; then + for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF Guard common-sense; do + ( + cd /root/src/"$mod" + make clean + ssh vm mkdir -p /c/"$mod" + rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab + ) & + done +fi + +wait + +rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && #sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' ssh vm ' - export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" - export LIB="c:\\vc98\\lib;c:\\sdk\\lib" + . ~/.setenv export ACTIVEPERL_CONFIG_DISABLE=1 - export VCINSTALLDIR=c:\\vc98 - export MSVCDir=c:\\vc98 - export MSDevDir=c:\\vs6\\common\\msdev98 - PATH="/c/Perl/bin/:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/gtk2/bin:/c/bdb/bin:/c/sdk/Bin/:/c/sdk/Bin/WinNT/:/c/vc98/bin:/c/vc98/msdev98/bin:/gtk/bin:$PATH" + export PERL_MM_USE_DEFAULT=1 + + cd /c/common-sense && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/Guard && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && + cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && - cd /c/Crossfire && - /c/perl/bin/perl Makefile.PL && - nmake install && cd /c/CFClient && /c/perl/bin/perl Makefile.PL && nmake install && win32/ppwin && - cp cfplus.exe /c/temp + cp deliantra.exe /c/temp ' && -rsync -avessh vm:/c/CFClient/cfplus.exe . -todata cfplus.exe +rsync -avessh vm:/c/CFClient/deliantra.exe . +cp deliantra.exe /fs/dosx/todo/. & +todata deliantra.exe +wait