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 | if true; then |
6 | for mod in AnyEvent EV JSON-XS Deliantra BDB; do |
6 | for mod in AnyEvent EV JSON-XS Deliantra BDB Compress-LZF; do |
7 | ( |
7 | ( |
8 | cd /root/src/"$mod" |
8 | cd /root/src/"$mod" |
9 | make clean |
9 | make clean |
|
|
10 | ssh vm mkdir /c/"$mod" |
10 | rsync -avPessh --modify-window=1 /root/src/"$mod" vm:/c/. --del |
11 | rsync -avPessh --modify-window=1 . vm:/c/"$mod"/. --del |
11 | ) & |
12 | ) & |
12 | done |
13 | done |
13 | fi |
14 | fi |
14 | |
15 | |
15 | wait |
16 | wait |
… | |
… | |
33 | |
34 | |
34 | cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && |
35 | cd /c/AnyEvent && /c/perl/bin/perl Makefile.PL && nmake install && |
35 | cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && |
36 | cd /c/EV && /c/perl/bin/perl Makefile.PL && nmake install && |
36 | cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && |
37 | cd /c/BDB && /c/perl/bin/perl Makefile.PL && nmake install && |
37 | cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && |
38 | cd /c/JSON-XS && /c/perl/bin/perl Makefile.PL && nmake install && |
38 | cd /c/Crossfire && /c/perl/bin/perl Makefile.PL && nmake install && |
39 | cd /c/Deliantra && /c/perl/bin/perl Makefile.PL && nmake install && |
39 | cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && |
40 | cd /c/Compress-LZF && /c/perl/bin/perl Makefile.PL && nmake install && |
40 | |
41 | |
41 | cd /c/CFClient && |
42 | cd /c/CFClient && |
42 | /c/perl/bin/perl Makefile.PL && |
43 | /c/perl/bin/perl Makefile.PL && |
43 | nmake install && |
44 | nmake install && |