Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29890/MonetDB/src/testing

Modified Files:
        Makefile.ag 
Log Message:

.bat(ch) scripts are only usable on Windows,
while (Unix-)shell scripts are (usually) of no use on Windows.

Hence, let's eploit the conditional features of our own autogen
to compile and install shell scripts only on non-Windows systems,
and .bat(ch) scripts only on Windows.
This also saves us from the need to delete the latter from the
prefix tree during RPM-building, cleaning up the RPM-spec files.

Compilation of these changes requires up-to-date buildtools,
that contain the fix I just checked in.


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Makefile.ag,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Makefile.ag 5 Apr 2007 08:41:52 -0000       1.18
+++ Makefile.ag 31 Aug 2007 15:55:45 -0000      1.19
@@ -35,6 +35,7 @@
 bin_Mprofile.py.bat = bin_Mtest.py.bat
 
 scripts_bat = {
+       COND = NATIVE_WIN32
        DIR = bindir
        SOURCES = Mlog.bat Mtest.py.bat
 }
@@ -56,6 +57,7 @@
 }
 
 scripts_sh = {
+       COND = NOT_WIN32
        EXT = ""
        DIR = bindir
        SOURCES = Mlog MkillUsers


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to