Update of /cvsroot/monetdb/geom
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8950

Modified Files:
        de-bootstrap 
Log Message:

aligned with all other MonetDB packages


Index: de-bootstrap
===================================================================
RCS file: /cvsroot/monetdb/geom/de-bootstrap,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- de-bootstrap        1 Jun 2007 08:01:47 -0000       1.1.1.1
+++ de-bootstrap        22 Aug 2007 15:49:14 -0000      1.2
@@ -13,77 +13,23 @@
 # The Original Code is the MonetDB Database System.
 #
 # The Initial Developer of the Original Code is CWI.
-# Portions created by CWI are Copyright (C) 1997-2006 CWI.
+# Portions created by CWI are Copyright (C) 1997-2007 CWI.
 # All Rights Reserved.
 
 #
-# ! this file should be kept identical in                                      
                   !
-# ! MonetDB, template, sql, pathfinder,  xml, pruning, playpen, times100, 
misq, gis, acoi, monet5 !
+# ! this file should be kept identical in                                      
         !
+# ! MonetDB, MonetDB4, monet5, clients, template, sql, pathfinder, amdb, xml, 
pruning !
 #
 
-if [ "$1" ] ; then
-       echo '
-This script ("./de-bootstrap") can be used to clean up the source tree, 
-i.e., to remove all files that were created by "./bootstrap".
-
-"./de-bootstrap" first lists all files that are to be removed and 
-asks the user for confirmation before actually removing the files.
-'
-       exit
-fi
-
-function RM () {
-       if [ "x$1" = 'x-f' ]; then
-               shift
-       fi
-
-       L=-d
-       R=''
-       G=''
-       if [ "x$1" = 'x-r' -o "x$1" = 'x-rf' -o "x$1" = 'x-fr' ]; then
-               shift
-               L=-R
-               R=-r
-               G='/$|'
-       fi
-
-       x=N
-       n=`ls -A $L $* 2>/dev/null | egrep -v "^total [0-9]*$|^$|^[^ ]*:$" | wc 
-l | sed 's|^ *||'` 
-       if [ $n != '0' ]; then
-               ls -lAF $L $* 2>/dev/null | egrep -v "$G^total [0-9]*$|^$" 
-               echo -e "Delete these $n files/directories? (y/N) \c"
-               read x 
-               if [ "x$x" = 'xy' ]; then
-                       ( /bin/rm -f $R $*  &&  echo "$n files deleted." )  ||  
echo "rm failed."
-               else
-                       echo "rm canceled, no files/directories deleted."
-               fi
-       fi
-}
+if [ ! "`type -p Mdebootstrap`" ] ; then
+       cat <<- EOF >&2
 
-what=""
-if [ -f CVS/Repository ]; then
-       # first, try the CVS repository name to guess the value for $what
-       what="`cat CVS/Repository`"
-       what="`basename $what`"
-elif [ -f autogen/autogen.py  -a  -f mel/mel.mx  -a  -f Mx/Mx.h  -a  -f 
burg/burs.c ]; then
-       # then, check for the existence of "characteristic" files
-       what="buildtools"
-else
-       # otherwise, use the current directory's (base)name to guess, 
-       # which of monet, sql, xml, acoi, template, ... we are.
-       what="`pwd`"
-       what="`basename $what`"
-fi
+       Mdebootstrap not found.
+       You need to install buildtools, first,
+       and ensure that <[buildtools_]prefix>/bin is in your PATH.
 
-if [ "$what" = "buildtools" ] ; then
-       RM -rf configure */autom4te.cache */build 
*/{configure,depcomp,INSTALL,install-sh,missing,*_config.h.in,aclocal.m4,Makefile.in}
 `find .[^.]* [^_]* -name \*.class -o -name \*.orig -o -name \*.rej -o -name 
.cache -o -name .incs.\* -o -name \*.pyc -o -name \*~ -o -name .\*~ -o -name 
.#\* -o -name \*.bak | grep -v 'burg/Makefile.orig$'`
-else
-       RM -rf autom4*.cache `find .[^.]* [^_]* -name Makefile.\* | egrep -v 
'(\.(|ag|standalone|rules|bsd|svr4|sun4|PL|inc)|burg/Makefile.orig)$' ; find 
.[^.]* [^_]* -name \*.class -o -name \*.orig -o -name \*.rej -o -name .cache -o 
-name .incs.\* -o -name \*.pyc -o -name \*~ -o -name .\*~ -o -name .#\* -o 
-name \*.bak | grep -v 'burg/Makefile.orig$'` ./install.lst ./doc.lst 
./acout.in ./configure.in ./aclocal.m4 ./configure ./stamp-h.in ./conf/depcomp 
./conf/mkinstalldirs ./conf/stamp-h.in ./conf/config.h.in ./conf/install-sh 
./conf/config.guess ./conf/config.sub ./conf/ltconfig ./conf/ltmain.sh 
./conf/missing ./conf/compile ./acconfig.h
+EOF
+       exit 1
 fi
 
-echo '
-It might be a good idea to run "cvs -q diff --brief", now,
-to check whether required files have been removed accidently.
-If so, these files can be restored by "cvs update <file>".
-'
+exec Mdebootstrap


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to