| 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 |
|
|
cp pclient.exe /c/temp |
| 25 |
root |
1.2 |
' && |
| 26 |
root |
1.1 |
rsync -avessh vm:/c/CFClient/pclient.exe . |
| 27 |
root |
1.4 |
todata pclient.exe |
| 28 |
root |
1.1 |
|