2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Always use forward slashes in arguments to xsltproc. The windows xsltproc can handle forward slashes, but the cygwin version chokes on backslashes

[SVN r62212]
This commit is contained in:
Steven Watanabe
2010-05-25 18:43:18 +00:00
parent 6f60fe9000
commit b1f7e8dcc9

View File

@@ -87,7 +87,7 @@ local rule .xsltproc ( target : source stylesheet : properties * : dirname ? : a
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 @@ rule xslt-dir ( target : source stylesheet : properties * : dirname )
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)"
}