ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/makebin.win32
Revision: 1.19
Committed: Fri Sep 5 15:24:10 2008 UTC (15 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-0_9976
Changes since 1.18: +4 -3 lines
Log Message:
*** empty log message ***

File Contents

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