Update of /cvsroot/monetdb/clients/conf
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29890/clients/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/clients/conf/Makefile.ag,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.ag 3 Jan 2007 12:17:21 -0000       1.3
+++ Makefile.ag 31 Aug 2007 15:55:44 -0000      1.4
@@ -20,12 +20,14 @@
        ltmain.sh
 
 scripts_sh = {
+       COND = NOT_WIN32
        EXT = ""
        DIR = bindir
        SOURCES = monetdb-clients-config.in
 }
 
 scripts_bat = {
+       COND = NATIVE_WIN32
        DIR = bindir
        SOURCES = monetdb-clients-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