Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4135/autogen

Modified Files:
        am.py 
Log Message:

make sure we report conditional links properly to the TestTools,
such that the TestWeb shows orange "x" (indicating "expected missing files")
instead of red "X" (indicating "unexpectedly missing files")


Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- am.py       5 Sep 2007 17:05:43 -0000       1.47
+++ am.py       5 Sep 2007 18:59:09 -0000       1.48
@@ -459,6 +459,7 @@
             src = binmap[4:]
             if cond:
                 fd.write('if %s\n' % cond)
+                cond = '#'+cond
             fd.write("install-exec-local-%s: %s\n" % (name, src))
             fd.write("\t-mkdir -p $(DESTDIR)$(bindir)\n")
             fd.write("\t-$(RM) $(DESTDIR)$(bindir)/%s\n" % name)
@@ -467,7 +468,7 @@
             fd.write("\t$(RM) $(DESTDIR)$(bindir)/%s\n\n" % name)
             am['INSTALL'].append(name)
             am['UNINSTALL'].append(name)
-            am['InstallList'].append("\t$(bindir)/"+name+"\n")
+            am['InstallList'].append("\t$(bindir)/"+name+cond+"\n")
 
             fd.write("all-local-%s: %s\n" % (name, src))
             fd.write("\t-$(RM) %s\n" % name)


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