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