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.16 by root, Wed May 21 23:35:54 2008 UTC vs.
Revision 1.23 by root, Mon Dec 26 22:30:21 2011 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3[ -e Makefile ] && make clean 3[ -e Makefile ] && make clean
4 4
5if true; then 5if true; then
6 for mod in AnyEvent EV JSON-XS Deliantra BDB; do 6 for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF Guard common-sense; do
7 ( 7 (
8 cd /root/src/"$mod" 8 cd /root/src/"$mod"
9 make clean 9 make clean
10 ssh vm mkdir -p /c/"$mod"
10 rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del 11 rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab
11 ) & 12 ) &
12 done 13 done
13fi 14fi
14 15
15wait 16wait
16 17
17(
18 cd ../Deliantra || exit 69
19 [ -e Makefile ] && make clean
20 rsync -avessh --modify-window=1 . vm:/c/Crossfire/.
21) &&
22rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && 18rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" &&
23#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' 19#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm '
24ssh vm ' 20ssh vm '
25 export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" 21 . ~/.setenv
26 export LIB="c:\\vc98\\lib;c:\\sdk\\lib"
27 export ACTIVEPERL_CONFIG_DISABLE=1 22 export ACTIVEPERL_CONFIG_DISABLE=1
28 export VCINSTALLDIR=c:\\vc98
29 export MSVCDir=c:\\vc98
30 export MSDevDir=c:\\vs6\\common\\msdev98
31 export PERL_MM_USE_DEFAULT=1 23 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"
33 24
25 cd /c/common-sense && /c/perl/bin/perl Makefile.PL && nmake install &&
26 cd /c/Guard && /c/perl/bin/perl Makefile.PL && nmake install &&
34 cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && 27 cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install &&
35 cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && 28 cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install &&
36 cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && 29 cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install &&
37 cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && 30 cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install &&
31 cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install &&
38 cd /c/Crossfire && /c/perl/bin/perl Makefile.PL && nmake install && 32 cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install &&
39 33
40 cd /c/CFClient && 34 cd /c/CFClient &&
41 /c/perl/bin/perl Makefile.PL && 35 /c/perl/bin/perl Makefile.PL &&
42 nmake install && 36 nmake install &&
43 win32/ppwin && 37 win32/ppwin &&
44 cp deliantra.exe /c/temp 38 cp deliantra.exe /c/temp
45' && 39' &&
46rsync -avessh vm:/c/CFClient/deliantra.exe . 40rsync -avessh vm:/c/CFClient/deliantra.exe .
47cp deliantra.exe /fs/dosx/todo/. &/ 41cp deliantra.exe /fs/dosx/todo/. &
48todata deliantra.exe 42todata deliantra.exe
49wait 43wait
50 44

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines