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.1 by root, Sun May 14 22:24:15 2006 UTC vs.
Revision 1.13 by root, Sun Dec 9 14:45:16 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines