ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/makebin.win32
(Generate patch)

Comparing deliantra/Deliantra-Client/makebin.win32 (file contents):
Revision 1.7 by root, Mon Oct 9 23:30:44 2006 UTC vs.
Revision 1.16 by root, Wed May 21 23:35:54 2008 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3[ -e Makefile ] && make clean 3[ -e Makefile ] && make clean
4 4
5if true; then
6 for mod in AnyEvent EV JSON-XS Deliantra BDB; do
7 (
8 cd /root/src/"$mod"
9 make clean
10 rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del
11 ) &
12 done
13fi
14
15wait
16
5( 17(
6 cd ../Crossfire || exit 69 18 cd ../Deliantra || exit 69
7 [ -e Makefile ] && make clean 19 [ -e Makefile ] && make clean
8 rsync -avessh --modify-window=1 . vm:/c/Crossfire/. 20 rsync -avessh --modify-window=1 . vm:/c/Crossfire/.
9) && 21) &&
10rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude rocketmen_sound_effects && 22rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" &&
11sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' 23#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm '
24ssh vm '
12 export INCLUDE="c:\\vs8\\vc\\include;c:\\sdk\\include" 25 export INCLUDE="c:\\vc98\\include;c:\\sdk\\include"
13 export LIB="c:\\vs8\\vc\lib;c:\\vs8\\sdk\\v2.0\\lib;c:\\sdk\\lib" 26 export LIB="c:\\vc98\\lib;c:\\sdk\\lib"
14 export ACTIVEPERL_CONFIG_DISABLE=1 27 export ACTIVEPERL_CONFIG_DISABLE=1
15 export VCINSTALLDIR=c:\\vs8\\vc
16 export VS80COMNTOOLS=c:\\vs8\\commo7\\tools
17 export VSINSTALLDIR=c:\\vs8 28 export VCINSTALLDIR=c:\\vc98
18 PATH="/c/vs8/Common7/IDE:/c/vs8/VC/BIN:/c/vs8/Common7/Tools:/c/vs8/SDK/v2.0/bin:/c/WINNT/Microsoft.NET/Framework/v2.0.50727:/c/vs8/VC/VCPackages:/c/Perl/bin/:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/gtk2/bin:c:/gtk-win32/bin:/c/sdk/Bin/.:/c/sdk/Bin/WinNT/.:/c/strawberry-perl/mingw/bin:/c/bdb/bin:/c/sdk/Bin/.:/c/sdk/Bin/WinNT/.:/c/vc/bin:c:/gtk/bin:$PATH" 29 export MSVCDir=c:\\vc98
30 export MSDevDir=c:\\vs6\\common\\msdev98
31 export PERL_MM_USE_DEFAULT=1
32 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"
19 33
20 cd /c/Crossfire && 34 cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install &&
21 /c/perl/bin/perl Makefile.PL && 35 cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install &&
22 nmake install && 36 cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install &&
37 cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install &&
38 cd /c/Crossfire && /c/perl/bin/perl Makefile.PL && nmake install &&
39
23 cd /c/CFClient && 40 cd /c/CFClient &&
24 /c/perl/bin/perl Makefile.PL && 41 /c/perl/bin/perl Makefile.PL &&
25 nmake install && 42 nmake install &&
26 win32/ppwin && 43 win32/ppwin &&
27 cp cfplus.exe /c/temp 44 cp deliantra.exe /c/temp
28' && 45' &&
29rsync -avessh vm:/c/CFClient/cfplus.exe . 46rsync -avessh vm:/c/CFClient/deliantra.exe .
30todata cfplus.exe 47cp deliantra.exe /fs/dosx/todo/. &/
48todata deliantra.exe
49wait
31 50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines