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