ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/util/build
(Generate patch)

Comparing deliantra/Deliantra-Client/util/build (file contents):
Revision 1.12 by root, Wed Jan 18 15:31:52 2012 UTC vs.
Revision 1.14 by root, Thu Jan 26 20:11:14 2012 UTC

1#!/bin/sh 1#!/bin/sh
2
3# 1. build
4# 2. gendist
5# 3. ota_publish
2 6
3############################################################################# 7#############################################################################
4# copy and install modules 8# copy and install modules
5 9
6if ! [ "$SKIP_INSTALL" ] ; then 10if ! [ "$SKIP_INSTALL" ] ; then
7 cpan="Win32::Exe Pod::POM LWP" 11 cpan="Win32::Exe Pod::POM LWP PPI"
8 cpan="" 12 cpan=""
9 mods="common-sense Guard JSON-XS AnyEvent EV BDB Coro Compress-LZF" 13 mods="common-sense Guard JSON-XS AnyEvent EV BDB Coro Compress-LZF"
10 mods="$mods IO-AIO AnyEvent-AIO AnyEvent-BDB Perl-LibExtractor Urlader" 14 mods="$mods IO-AIO AnyEvent-AIO AnyEvent-BDB Getopt::Long Perl-Strip Perl-LibExtractor Urlader"
11 mods="$mods deliantra/Deliantra deliantra/Deliantra-Client" 15 mods="$mods deliantra/Deliantra deliantra/Deliantra-Client"
12 16
13 for host in vm osx105; do 17 for host in vm osx105; do
14 ( 18 (
15 cd /root/src 19 cd /root/src
29 MAKE="$1"; shift 33 MAKE="$1"; shift
30 PERL="$1"; shift 34 PERL="$1"; shift
31 echo "building on platform <$@>" 35 echo "building on platform <$@>"
32 "$@" ' 36 "$@" '
33 cpan '"$cpan"' </dev/null >log 2>&1 || { cat log; exit 68; } 37 cpan '"$cpan"' </dev/null >log 2>&1 || { cat log; exit 68; }
38 export EV_EVENTFD=0
39 export EV_INOTIFY=0
40 export EV_SIGNALFD=0
34 for mod in '"$mods"'; do 41 for mod in '"$mods"'; do
35 echo building $mod 42 echo building $mod
36 cd /root/src/$mod || exit 69 43 cd /root/src/$mod || exit 69
37 rm -rf blib 44 rm -rf blib
38 '$PERL' Makefile.PL </dev/null >/dev/null 2>&1 45 '$PERL' Makefile.PL </dev/null >/dev/null 2>&1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines