From 55ac0854353ea4c0e6c2c9cfb435ea80acd0e09b 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] --- src/tools/xsltproc.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/xsltproc.jam b/src/tools/xsltproc.jam index 58e4cb68d..7e90b6c5f 100644 --- a/src/tools/xsltproc.jam +++ b/src/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)" "$(>)" }