1 |
root |
1.1 |
#!/bin/bash |
2 |
|
|
|
3 |
|
|
[ -e Makefile ] && make clean |
4 |
root |
1.3 |
|
5 |
|
|
( |
6 |
|
|
cd ../Crossfire || exit 69 |
7 |
|
|
[ -e Makefile ] && make clean |
8 |
|
|
rsync -avessh --modify-window=1 . vm:/c/Crossfire/. |
9 |
|
|
) && |
10 |
root |
1.2 |
rsync -avessh --modify-window=1 . vm:/c/CFClient/. && |
11 |
root |
1.1 |
ssh vm ' |
12 |
|
|
export INCLUDE="c:\\vc\\include;c:\\sdk\\include" |
13 |
|
|
export LIB="c:\\vc\lib;c:\\sdk\\lib" |
14 |
root |
1.3 |
export ACTIVEPERL_CONFIG_DISABLE=1 |
15 |
root |
1.1 |
PATH="/c/gtk/bin:/c/perl/bin:/c/vc/bin:$PATH" |
16 |
|
|
|
17 |
root |
1.3 |
cd /c/Crossfire && |
18 |
|
|
/c/perl/bin/perl Makefile.PL && |
19 |
|
|
nmake install && |
20 |
root |
1.1 |
cd /c/CFClient && |
21 |
root |
1.3 |
/c/perl/bin/perl Makefile.PL && |
22 |
root |
1.1 |
nmake install && |
23 |
|
|
win32/ppwin && |
24 |
root |
1.5 |
cp cfplus.exe /c/temp |
25 |
root |
1.2 |
' && |
26 |
root |
1.5 |
rsync -avessh vm:/c/CFClient/cfplus.exe . |
27 |
|
|
todata cfplus.exe |
28 |
root |
1.1 |
|