Commit Graph

86 Commits

Author SHA1 Message Date
maroy 1dc66e71a3 changes that hopefully fix issue #892
see http://bugs.campware.org/view.php?id=892
2005-04-29 14:21:52 +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
maroy de3c9925c1 making fixes to the installation and Debian package creation 2005-04-23 09:51:00 +00:00
maroy 366d29a86e changes to the debian source package creating tools 2005-04-22 16:46:16 +00:00
fberckel 2d1105ab0f Updated for ./configure with autogen.sh 2005-04-22 14:19:04 +00:00
maroy fd5903d582 minor changes 2005-04-22 13:33:09 +00:00
maroy cfb2413adf added possibility to specify debian version
added checks for commands used by the script
2005-04-22 13:31:17 +00:00
maroy bd185d17d8 updated documentation and scripts to reflect master autoconf 2005-04-22 13:08:55 +00:00
maroy cde23c4f0d updated gLiveSupport install to include missing localized resource
and widget image files
2005-04-22 12:44:06 +00:00
maroy a14cecc8b0 made master build environment to autoconf-based
added debian package creation scripts
2005-04-22 11:56:56 +00:00
maroy 827d6ed31d modified authentication module and gLiveSupport to use the
personalized development environment if available
2005-04-13 15:52:20 +00:00
maroy d6c26fe4b4 forcing localhost as host name always 2005-04-08 14:26:39 +00:00
maroy 1e00766456 adjusted su command parameters 2005-04-08 12:35:40 +00:00
maroy 66bd876f08 added possibility for personalized development
(e.g. sharing a system between multiple developers)
2005-04-08 11:56:37 +00:00
maroy 006fc2b264 replacing cp -a with cp -pPR, so as it works also on platforms which
don't have the -a GNU extension option to cp
2005-04-06 17:59:11 +00:00
fberckel cae8aabf43 Import with TkCvs 2005-04-05 19:37:43 +00:00
maroy 18450c6412 added fix for bug #536
not libodbc++ reads BIGINTs correclty with getLong()
2005-04-04 18:25:21 +00:00
fberckel b47a4ba129 Import with TkCVS 2005-04-04 16:57:09 +00:00
fberckel 4cdee586bc Import with TkCVS 2005-04-04 16:45:09 +00:00
fberckel 247df14aff import by TkCVS 2005-04-04 15:32:16 +00:00
maroy 546000df1e added check to see if the apache group supplied is sensible
changed default database host name to localhost
added INSTALL file
2005-03-28 19:14:06 +00:00
maroy d6c6a4b0c4 added test database setup file 2005-03-27 14:50:13 +00:00
maroy d8f302116d added check for the sed executable
added support for remote database hosts
2005-03-27 12:11:14 +00:00
maroy 01d625000e removed silent database initialization reporting 2005-03-26 19:47:49 +00:00
maroy 26899feffb added scheduler installation
possibility to specify database host separately
2005-03-26 19:28:10 +00:00
tomas 6398a28317 Fixed:
- pear module check seems to say true on pkgs not installed.
 - psql want to have existing database name as 1st arg if postgres database
doesn't exists - template1 added ...
2005-03-25 18:37:24 +00:00
maroy 25093aa35f now prints the help in case of parameter errors 2005-03-25 15:52:15 +00:00
maroy dde0766cfd added first version of install script 2005-03-25 15:49:44 +00:00
maroy 39c0777f58 changed script to generate two tarballs, one with sources, one with libs 2005-03-25 10:33:22 +00:00
maroy 6a76ada4b7 added dist script 2005-03-23 10:46:19 +00:00
maroy 21485a6d01 removed 'cd -' from the end of statements that were like
dirname=`cd somethere; pwd; cd -`
2005-01-07 14:04:29 +00:00
maroy 885b2cc212 added scheduler client module 2004-12-02 01:22:38 +00:00
maroy a6cf458a5d re-enabled scheduler coverage 2004-11-25 15:08:17 +00:00
maroy 68a830f1f7 added authentication module to coverage generation script
temporarily commented scheduler out
2004-11-25 09:27:41 +00:00
maroy e5f7f2bed8 updated generated documentation 2004-11-18 13:14:12 +00:00
maroy d9c0e838b5 added global code coverage info generation 2004-08-02 06:26:34 +00:00