Update of /cvsroot/monetdb/clients
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17089/clients
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/clients/Makefile.ag,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile.ag 30 Aug 2007 12:35:33 -0000 1.8
+++ Makefile.ag 8 Sep 2007 17:54:13 -0000 1.9
@@ -19,6 +19,7 @@
EXTRA_DIST = configure.ag rpm.mk.in \
MonetDB-client.spec MonetDB-client.spec.in \
RunMtest.in RunMtest.bat.in \
+ RunMapprove.in \
Runmclient.bat.in
EXTRA_DIST_DIR = NT
--- 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-clients
[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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins