Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62212 - trunk/tools/build/v2/tools
From: steven_at_[hidden]
Date: 2010-05-25 14:43:19


Author: steven_watanabe
Date: 2010-05-25 14:43:18 EDT (Tue, 25 May 2010)
New Revision: 62212
URL: http://svn.boost.org/trac/boost/changeset/62212

Log:
Always use forward slashes in arguments to xsltproc. The windows xsltproc can handle forward slashes, but the cygwin version chokes on backslashes
Text files modified:
   trunk/tools/build/v2/tools/xsltproc.jam | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/tools/xsltproc.jam
==============================================================================
--- trunk/tools/build/v2/tools/xsltproc.jam (original)
+++ trunk/tools/build/v2/tools/xsltproc.jam 2010-05-25 14:43:18 EDT (Tue, 25 May 2010)
@@ -87,7 +87,7 @@
 
     for local catalog in [ feature.get-values <catalog> : $(properties) ]
     {
- CATALOG = [ common.variable-setting-command XML_CATALOG_FILES : $(catalog) ] ;
+ CATALOG = [ common.variable-setting-command XML_CATALOG_FILES : $(catalog:T) ] ;
     }
 
     $(action) $(target) : $(source) ;
@@ -108,11 +108,11 @@
 
 actions xslt-xsltproc bind STYLESHEET
 {
- $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET)" "$(>)"
+ $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET:T)" "$(>:T)"
 }
 
 
 actions xslt-xsltproc-dir bind STYLESHEET
 {
- $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<:D)/" "$(STYLESHEET)" "$(>)"
+ $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<:D)/" "$(STYLESHEET:T)" "$(>:T)"
 }


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