Update of /cvsroot/echempp
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv5154
Added Files:
runme_cvs.sh
Log Message:
Script to run after CVS checkout. Makes bootstrap stuff obsolete.
--- NEW FILE: runme_cvs.sh ---
#!/bin/bash
# D. Brugger
# run this after a cvs checkout
# subdirs to bootstrap
SUBDIRS="GUI Utilities Experiment Model Analysis HardwareControl"
# change if necessary
LIBTOOLM4=/usr/share/aclocal/libtool.m4
function bootstrap()
{
aclocal 2>/dev/null
automake --gnu --add-missing 2>/dev/null
autoconf 2>/dev/null
}
function bootstrap_subdir()
{
autoheader 2>/dev/null
aclocal 2>/dev/null
automake --gnu --add-missing 2>/dev/null
autoconf 2>/dev/null
}
if [ -f ${LIBTOOLM4} ]; then
echo -n "Copying libtool.m4..."
cp ${LIBTOOLM4} acinclude.m4
echo "done."
else
echo "Cannot find libtool.m4, please specify location in runme_cvs.sh"
fi
bootstrap
libtoolize 2>/dev/null
bootstrap
for i in ${SUBDIRS}; do
if [ -d ${i} ]; then
OLDPWD=`pwd`;
cd ${i}
echo -n "Running bootstrap in subdir ${i}..."
bootstrap_subdir;
echo "done."
cd ${OLDPWD};
else
echo "Unkonw subdir ${i}"
fi
done
|