#!/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 ""
This commit is contained in:
parent
d05a992551
commit
3c23f030a0
1 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#
|
||||
# Author : $Author: fberckel $
|
||||
# Version : $Revision: 1.2 $
|
||||
# Version : $Revision: 1.3 $
|
||||
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/bin/startMakeRecompile.sh,v $
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
@ -40,17 +40,17 @@ logdir=$basedir/tmp
|
|||
export PATH=~/bin:$PATH
|
||||
|
||||
echo "";
|
||||
echo "The source code will be updated first and the recompile process";
|
||||
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"
|
||||
bin/autogen.sh >& $logdir/configure_before_setup.log
|
||||
echo "Run autogen.sh & configure, configure_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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue