Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-08-07 15:42:04


Author: vladimir_prus
Date: 2007-08-07 15:42:00 EDT (Tue, 07 Aug 2007)
New Revision: 38497
URL: http://svn.boost.org/trac/boost/changeset/38497

Log:
Quoting of space characters, addresses #853.
Text files modified:
   trunk/tools/build/v2/tools/boostbook.jam | 3 +++
   trunk/tools/build/v2/tools/quickbook.jam | 2 +-
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/boostbook.jam
==============================================================================
--- trunk/tools/build/v2/tools/boostbook.jam (original)
+++ trunk/tools/build/v2/tools/boostbook.jam 2007-08-07 15:42:00 EDT (Tue, 07 Aug 2007)
@@ -206,6 +206,7 @@
 
   # BoostBook DTD catalog entry
   local boostbook-dtd-dir = [ boostbook.dtd-dir ] ;
+ boostbook-dtd-dir = [ regex.replace $(boostbook-dtd-dir) " " "%20" ] ;
   
   print.text
     "<?xml version=\"1.0\"?>"
@@ -217,6 +218,7 @@
     : true ;
 
   local docbook-xsl-dir = [ boostbook.docbook-xsl-dir ] ;
+ docbook-xsl-dir = [ regex.replace $(docbook-xsl-dir) " " "%20" ] ;
   if ! $(docbook-xsl-dir)
   {
     ECHO "BoostBook warning: no DocBook XSL directory specified." ;
@@ -233,6 +235,7 @@
   }
 
   local docbook-dtd-dir = [ boostbook.docbook-dtd-dir ] ;
+ docbook-dtd-dir = [ regex.replace $(docbook-dtd-dir) " " "%20" ] ;
   if ! $(docbook-dtd-dir)
   {
     ECHO "BoostBook warning: no DocBook DTD directory specified." ;

Modified: trunk/tools/build/v2/tools/quickbook.jam
==============================================================================
--- trunk/tools/build/v2/tools/quickbook.jam (original)
+++ trunk/tools/build/v2/tools/quickbook.jam 2007-08-07 15:42:00 EDT (Tue, 07 Aug 2007)
@@ -296,7 +296,7 @@
 
 actions quickbook-to-boostbook
 {
- $(QB-COMMAND) --output-file=$(1) $(2)
+ "$(QB-COMMAND)" --output-file=$(1) $(2)
 }
 
 # Declare a main target to convert a quickbook source into a boostbook


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