Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13041/autogen/autogen
Modified Files:
am.py
Log Message:
add conditionals to InstallList (insteall.lst) also for java/ant
Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- am.py 10 Dec 2007 15:37:01 -0000 1.65
+++ am.py 8 Jan 2008 15:37:51 -0000 1.66
@@ -951,11 +951,15 @@
fd.write("\nendif !HAVE_JAVA\n\n")
+ if ant.has_key("COND"):
+ cond = "#" + ant["COND"][0]
+ else:
+ cond = ""
for file in ant['FILES']:
sfile = file.replace(".", "_")
am['INSTALL'].append(sfile)
am['UNINSTALL'].append(sfile)
- am['InstallList'].append("\t" + jd + "/" + file + "\n")
+ am['InstallList'].append("\t" + jd + "/" + file + cond + "\n")
def am_add_srcdir(path, am, prefix =""):
dir = path
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins