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 -p /c/"$mod" |
11 |
rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del --exclude /pgrab |
12 |
) & |
13 |
done |
14 |
fi |
15 |
|
16 |
wait |
17 |
|
18 |
rsync -avessh --modify-window=1 . vm:/c/CFClient/. --exclude audio --exclude "*.exe" && |
19 |
#sshpass -p geheim123 ssh -o PreferredAuthentications=password vm ' |
20 |
ssh vm ' |
21 |
export INCLUDE="c:\\vc98\\include;c:\\sdk\\include" |
22 |
export LIB="c:\\vc98\\lib;c:\\sdk\\lib" |
23 |
export ACTIVEPERL_CONFIG_DISABLE=1 |
24 |
export VCINSTALLDIR=c:\\vc98 |
25 |
export MSVCDir=c:\\vc98 |
26 |
export MSDevDir=c:\\vs6\\common\\msdev98 |
27 |
export PERL_MM_USE_DEFAULT=1 |
28 |
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" |
29 |
|
30 |
cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && |
31 |
cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && |
32 |
cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && |
33 |
cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && |
34 |
cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && |
35 |
cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && |
36 |
|
37 |
cd /c/CFClient && |
38 |
/c/perl/bin/perl Makefile.PL && |
39 |
nmake install && |
40 |
win32/ppwin && |
41 |
cp deliantra.exe /c/temp |
42 |
' && |
43 |
rsync -avessh vm:/c/CFClient/deliantra.exe . |
44 |
cp deliantra.exe /fs/dosx/todo/. & |
45 |
todata deliantra.exe |
46 |
wait |
47 |
|