* attila/src/attila.sh :

- En cas d'absence du "configure" executer "autostuff" (tests separes
       pour la racine d'Alliance et pour les outils).
   - En cas de reinstallation globale ("--asim") effacer tous les
       "configure" pour provoquer leur recreation. Cet effacement est
       fait uniquement sous Linux. Ceci pour garentir que les scripts
       qui seront utilises ensuite sous Solaris auront obligatoirement
       ete genere sous Linux. Cette manipulation est obligatoire en
       raison des differences de versions automake/autoconf/libtool
       entre Linux & Solaris (Linux a des versions plus recentes que
       Solaris).
This commit is contained in:
Jean-Paul Chaput 2002-12-22 11:18:13 +00:00
parent ae2be0375d
commit 45a86d5fd3
1 changed files with 17 additions and 10 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# $Id: attila.sh,v 1.12 2002/11/27 21:21:20 jpc Exp $ # $Id: attila.sh,v 1.13 2002/12/22 11:18:13 jpc Exp $
# #
# /------------------------------------------------------------------\ # /------------------------------------------------------------------\
# | | # | |
@ -448,18 +448,25 @@
cd $HOME/alliance/src cd $HOME/alliance/src
if [ ! -f Makefile.in ]; then
./autostuff
fi
if [ "$ASIM" = "y" ]; then if [ "$ASIM" = "y" ]; then
echo " o For ASIM install, removing $BUILD_DIR" if [ "$ALLIANCE_OS" = "Linux" ]; then
echo " o For ASIM install, removing $BUILD_DIR & configure"
rm -f configure
fi
for TOOL in $TOOLS; do for TOOL in $TOOLS; do
echo " - $BUILD_DIR/$TOOL." echo " - $BUILD_DIR/$TOOL."
rm -rf $BUILD_DIR/$TOOL rm -fr $BUILD_DIR/$TOOL
if [ "$ALLIANCE_OS" = "Linux" ]; then
rm -f $TOOL/configure
fi
done done
fi fi
if [ ! -f Makefile.in -o ! -f configure ]; then
echo " o Running autostuff for Alliance top directory."
./autostuff
fi
if [ ! -d $BUILD_DIR ]; then if [ ! -d $BUILD_DIR ]; then
echo " o Creating build directory $BUILD_DIR" echo " o Creating build directory $BUILD_DIR"
make_dir $BUILD_DIR make_dir $BUILD_DIR
@ -475,8 +482,8 @@
echo " o Building & installing requested tools." echo " o Building & installing requested tools."
for TOOL in $TOOLS; do for TOOL in $TOOLS; do
cd $HOME/alliance/src cd $HOME/alliance/src
if [ ! -f "$TOOL/Makefile.in" ]; then if [ ! -f "$TOOL/Makefile.in" -o ! -f "$TOOL/configure" ]; then
echo " - Making autostuff for $TOOL." echo " - Running autostuff for $TOOL."
./autostuff $TOOL ./autostuff $TOOL
fi fi
@ -487,7 +494,7 @@
fi fi
cd $TOOL cd $TOOL
echo " - Making rule $RULE for $TOOL." echo " - Running \"make $ARGS_MAKE\" for $TOOL."
$SRC_DIR/$TOOL/configure --prefix=$INSTALL_DIR $ARGS_CONFIGURE $SRC_DIR/$TOOL/configure --prefix=$INSTALL_DIR $ARGS_CONFIGURE
$MAKE prefix=$INSTALL_DIR $ARGS_MAKE $MAKE prefix=$INSTALL_DIR $ARGS_MAKE