From ca078a9f8406bfd0d87404ba47e526bb86fc321b Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sun, 6 Apr 2008 05:00:28 +0000 Subject: [PATCH] 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] --- v2/tools/xsltproc.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/tools/xsltproc.jam b/v2/tools/xsltproc.jam index 58e4cb68d..7e90b6c5f 100644 --- a/v2/tools/xsltproc.jam +++ b/v2/tools/xsltproc.jam @@ -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)" "$(>)" }