4 # This script will build a release of arla /usr/obj/arla-$VERSION
8 test -f ${ppath}/test-config
&& .
${ppath}/test-config
11 if [ X
$ADIR = X
]; then
12 ADIR
=/nfsafs
/e.kth.se
/home
/staff
/lha
/src
/cvs
/arla-0.35
17 if [ ! -d /nfsafs
/stacken.kth.se
] ;then
18 mount
-t nfs
-o soft afs.pdc.kth.se
:/afs
/nfsafs
20 if [ ! -d /nfsafs
/stacken.kth.se
] ;then
21 mount
-F nfs afs.pdc.kth.se
:/afs
/nfsafs
23 if [ ! -d /nfsafs
/stacken.kth.se
] ;then
24 echo Oppps
, no
/nfsafs
30 eval `grep '^VERSION=' $ADIR/configure.in`
32 if [ X
$VERSION = X
]; then
33 echo "Failed to find version of arla"
37 OBJDIR
=/usr
/obj
/arla-
$VERSION
39 os
=`$ADIR/config.guess`
42 CONFIG_ARGS
="--with-roken=/usr --with-roken-include=/usr/include/krb5"
46 echo Objdir is
$OBJDIR
52 echo "Building arla echo $VERSION test script" > log
2>&1
53 echo "Platform: `uname -a`" >> log
2>&1
54 echo "Gnuname: $os" >> log
2>&1
56 echo Objdir is
$OBJDIR >> log
2>&1
59 echo $CONFIG_ENV $ADIR/configure
$CONFIG_ARGS >> log
60 env
$CONFIG_ENV $ADIR/configure
$CONFIG_ARGS >> log
2>&1
63 echo "Configure failed with: $e" >> log
64 echo "Configure failed with: $e"
72 echo "Make failed with: $e" >> log
73 echo "Make failed with: $e"
77 echo "Cleaning target dir"
81 $MAKE install >> log
2>&1
84 echo "Install failed with: $e" >> log
85 echo "Install failed with: $e"