Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80010 - trunk/tools/build/v2/tools
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-13 11:39:18


Author: jurko
Date: 2012-08-13 11:39:18 EDT (Mon, 13 Aug 2012)
New Revision: 80010
URL: http://svn.boost.org/trac/boost/changeset/80010

Log:
Updated Boost Build's tools/boostbook.jam module to pass its created xml-catalog virtual target through the virtual-target.register rule, as is supposed to be done with all virtual-target instances.
Text files modified:
   trunk/tools/build/v2/tools/boostbook.jam | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/tools/boostbook.jam
==============================================================================
--- trunk/tools/build/v2/tools/boostbook.jam (original)
+++ trunk/tools/build/v2/tools/boostbook.jam 2012-08-13 11:39:18 EDT (Mon, 13 Aug 2012)
@@ -43,6 +43,7 @@
 import sequence ;
 import targets ;
 import type ;
+import virtual-target ;
 import xsltproc ;
 
 # Make this module into a project.
@@ -619,9 +620,9 @@
         }
         local root-project = [ project.target $(root-module) ] ;
 
- .xml-catalog = [ new file-target boostbook_catalog : XML :
- $(root-project) : [ new action : boostbook.generate-xml-catalog ] ]
- ;
+ .xml-catalog = [ virtual-target.register [ new file-target
+ boostbook_catalog : XML : $(root-project) : [ new action :
+ boostbook.generate-xml-catalog ] ] ] ;
         .xml-catalog-file = [ $(.xml-catalog).path ] [ $(.xml-catalog).name ] ;
         .xml-catalog-file = $(.xml-catalog-file:J=/) ;
     }


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