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

Modified Files:
        Makefile.ag 
Added Files:
        RunMapprove.in 
Log Message:

cleaned-up, simplified and "normalized" the RunMapprove.in scripts
(Unix shell script version, only; Windows batch script version still to be 
done...)


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/geom/Makefile.ag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.ag 22 Aug 2007 15:45:40 -0000      1.2
+++ Makefile.ag 8 Sep 2007 17:54:14 -0000       1.3
@@ -16,7 +16,7 @@
 
 SUBDIRS = conf src
 
-EXTRA_DIST = RunMtest.in rpm.mk.in
+EXTRA_DIST = RunMtest.in RunMapprove.in rpm.mk.in
 
 EXTRA_HEADERS = geom_config.h
 

--- NEW FILE: RunMapprove.in ---
#!/bin/sh

# The contents of this file are subject to the MonetDB Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations
# under the License.
#
# 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-2007 CWI.
# All Rights Reserved.

pkg=monetdb-geom
[EMAIL PROTECTED]@
# make sure srcdir contains absolute path name
srcdir=`cd '@srcdir@'; pwd`

# default back-end is MonetDB4
V=4
for arg
do
    case "$arg" in
    -4) V=4;;
    -5) V=5;;
    esac
done

# enhance PATH to find ${pkg}-config
PATH="${builddir}/conf:$PATH"
export PATH

# execute Mapprove.py in the source directory
cd "$srcdir"

# execute the script.
# if no arguments, do a recursive approve (Mapprove.py -r), else pass
# on the arguments
exec Mapprove.py -$V --package=${pkg} --TSTTRGBASE="${builddir}" "[EMAIL 
PROTECTED]"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to