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

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/conf/Makefile.ag,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile.ag 3 Feb 2007 13:53:56 -0000       1.22
+++ Makefile.ag 31 Aug 2007 15:55:45 -0000      1.23
@@ -21,12 +21,14 @@
        ltmain.sh config.h.in
 
 scripts_sh = {
+       COND = NOT_WIN32
        EXT = ""
        DIR = bindir
        SOURCES = monetdb-config.in
 }
 
 scripts_bat = {
+       COND = NATIVE_WIN32
        DIR = bindir
        SOURCES = monetdb-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