Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49287 - trunk/tools/build/v2/tools
From: grafikrobot_at_[hidden]
Date: 2008-10-11 15:02:38


Author: grafik
Date: 2008-10-11 15:02:37 EDT (Sat, 11 Oct 2008)
New Revision: 49287
URL: http://svn.boost.org/trac/boost/changeset/49287

Log:
Force using absolute paths when searching for stylesheets as recent DocBook XSL and xsltproc sources fail miserably at using locally rooted paths.
Text files modified:
   trunk/tools/build/v2/tools/boostbook-config.jam | 8 +++++---
   1 files changed, 5 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/tools/boostbook-config.jam
==============================================================================
--- trunk/tools/build/v2/tools/boostbook-config.jam (original)
+++ trunk/tools/build/v2/tools/boostbook-config.jam 2008-10-11 15:02:37 EDT (Sat, 11 Oct 2008)
@@ -21,9 +21,11 @@
             : "InstallRoot" ] ;
     }
     # Plausible locations.
- docbook_xsl-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : docbook-xsl* ] ;
- docbook_dtd-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : docbook-xml* ] ;
- boostbook-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : boostbook* ] ;
+ local root = [ PWD ] ;
+ while $(root) != $(root:D) { root = $(root:D) ; }
+ docbook_xsl-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : docbook-xsl* ] ;
+ docbook_dtd-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : docbook-xml* ] ;
+ boostbook-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : boostbook* ] ;
     
     docbook_xsl-path = $(docbook_xsl-path[1]) ;
     docbook_dtd-path = $(docbook_dtd-path[1]) ;


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