Boost logo

Boost-Commit :

From: dave_at_[hidden]
Date: 2007-11-25 02:48:21


Author: dave
Date: 2007-11-25 02:48:20 EST (Sun, 25 Nov 2007)
New Revision: 41351
URL: http://svn.boost.org/trac/boost/changeset/41351

Log:
Repair NT workaround so it doesn't break everything else

Text files modified:
   branches/bitten/tools/build/v2/build-system.jam | 14 +++++++++++---
   1 files changed, 11 insertions(+), 3 deletions(-)

Modified: branches/bitten/tools/build/v2/build-system.jam
==============================================================================
--- branches/bitten/tools/build/v2/build-system.jam (original)
+++ branches/bitten/tools/build/v2/build-system.jam 2007-11-25 02:48:20 EST (Sun, 25 Nov 2007)
@@ -589,11 +589,19 @@
 
     # Nothing to do here; the *real* actions happen in
     # out-xml.generate-action
- actions quietly out-xml.generate
+ if [ os.name ] = NT
     {
- rem
+ # This fails on NT if it's empty
+ actions quietly out-xml.generate
+ {
+ rem
+ }
     }
-
+ else
+ {
+ actions quietly out-xml.generate { }
+ }
+
     # Define the out-xml file target, which depends on all the targets
     # so that it runs the collection after the targets have run.
     out-xml $(.out-xml) : $(actual-targets) ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk