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

Make xsltproc more usable standalone.

* tools/xsltproc.jam (xslt-xsltproc): Bind STYLESHEET.
	(xslt-xsltproc-dir): Likewise.

Thanks to Eric Woodruff for the bug report.


[SVN r44067]
This commit is contained in:
Vladimir Prus
2008-04-06 05:00:28 +00:00
parent df70c1065a
commit ca078a9f84

View File

@@ -101,12 +101,12 @@ rule xslt-dir ( target : source stylesheet : properties * : dirname )
return [ .xsltproc $(target) : $(source) $(stylesheet) : $(properties) : $(dirname) : xslt-xsltproc-dir ] ;
}
actions xslt-xsltproc
actions xslt-xsltproc bind STYLESHEET
{
$(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET)" "$(>)"
}
actions xslt-xsltproc-dir
actions xslt-xsltproc-dir bind STYLESHEET
{
$(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<:D)/" "$(STYLESHEET)" "$(>)"
}