Commit Graph

5 Commits

Author SHA1 Message Date
fberckel 85b8bcbd52 updated echo's and spare line's 2005-07-14 19:39:30 +00:00
fberckel 567da89848 change some log file name 2005-07-12 05:23:23 +00:00
fberckel 3c23f030a0 #!/bin/sh
#-------------------------------------------------------------------------------
#   Copyright (c) 2004 Media Development Loan Fund
#
#   This file is part of the LiveSupport project.
#   http://livesupport.campware.org/
#   To report bugs, send an e-mail to bugs@campware.org
#
#   LiveSupport is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   LiveSupport is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with LiveSupport; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#
#   Author   : $Author: fberckel $
#   Version  : $Revision: 1.2 $
#   Location : $Source: /home/cvs/livesupport/bin/startMakeRecompile.sh,v $
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# This script runs cvs to update the LiveSupport source code and starts
# the recompile process.
#-------------------------------------------------------------------------------

reldir=`dirname $0`/..
basedir=`cd $reldir; pwd;`
bindir=$basedir/bin
docdir=$basedir/doc
tmpdir=$basedir/tmp
logdir=$basedir/tmp
export PATH=~/bin:$PATH

echo "";
echo "The source code will be updated and the recompile process";
echo "will be started. All steps are being logged within the log";
echo "directory $logdir";
echo "";
echo "Are you certainly of ran ./configure first !";
echo "";

cd $bindir/..
cvs update -dP >& $logdir/cvs_before_setup.log
ls -l $logdir/cvs_before_setup.log >> $logdir/cvs_before_setup.log
echo "Compare with cvs is be done, cvs_before_setup.log is created"
make distclean >& $logdir/distclean_before_setup.log
ls -l $logdir/distclean_before_setup.log >> $logdir/distclean_before_setup.log
echo "Cleaning the setup is be done, distclean_before_setup.log is created"
#make tools_setup >& $logdir/tools_setup.log
#ls -l $logdir/tools_setup.log >> $logdir/tools_setup.log
#echo "Done Tools Setup, tools_setup.log is created"
echo "Skipping Tools, remove # for recompiling tools";
echo "Now Configure ..."
make modules_setup >& $logdir/modules_setup.log
ls -l $logdir/modules_setup.log >> $logdir/modules_setup.log
echo "Configure the Modules is be done, modules_setup.log is created"
make products_setup >& $logdir/products_setup.log
ls -l $logdir/products_setup.log >> $logdir/products_setup.log
echo "Configure the Products is be done, products_setup.log is created";
echo "Now Recompiling ..."
make compile >& $logdir/compile.log
ls -l $logdir/compile.log >> $logdir/compile.log
echo "Compiling is be done, compile.log is created";
echo "Now checking ..."
make check >& $logdir/check.log
ls -l $logdir/check.log >> $logdir/check.log
echo "Checking is be done, check.log is created";
echo ""
2005-04-26 14:00:31 +00:00
fberckel 2d1105ab0f Updated for ./configure with autogen.sh 2005-04-22 14:19:04 +00:00
fberckel b47a4ba129 Import with TkCVS 2005-04-04 16:57:09 +00:00