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

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/MonetDB4/src/tools/Makefile.ag,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.ag 12 Apr 2007 09:39:14 -0000      1.6
+++ Makefile.ag 31 Aug 2007 15:55:44 -0000      1.7
@@ -108,12 +108,14 @@
 }
 
 scripts_sh = {
+       COND = NOT_WIN32
        EXT = ""
        DIR = bindir
        SOURCES = monetdb4-config.in
 }
 
 scripts_bat = {
+       COND = NATIVE_WIN32
        DIR = bindir
        SOURCES = monetdb4-config.bat.in 
 }


-------------------------------------------------------------------------
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