|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80009 - trunk/tools/build/v2/tools
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-13 11:32:50
Author: jurko
Date: 2012-08-13 11:32:49 EDT (Mon, 13 Aug 2012)
New Revision: 80009
URL: http://svn.boost.org/trac/boost/changeset/80009
Log:
Boost Build cleanup - minor stylistic changes in the tools/boostbook.jam module.
Text files modified:
trunk/tools/build/v2/tools/boostbook.jam | 29 ++++++++++++++++-------------
1 files changed, 16 insertions(+), 13 deletions(-)
Modified: trunk/tools/build/v2/tools/boostbook.jam
==============================================================================
--- trunk/tools/build/v2/tools/boostbook.jam (original)
+++ trunk/tools/build/v2/tools/boostbook.jam 2012-08-13 11:32:49 EDT (Mon, 13 Aug 2012)
@@ -43,8 +43,7 @@
import sequence ;
import targets ;
import type ;
-
-import xsltproc : xslt xslt-dir ;
+import xsltproc ;
# Make this module into a project.
project.initialize $(__name__) ;
@@ -432,8 +431,8 @@
rule dtdxml-to-boostbook ( target : source : properties * )
{
lock-config ;
- xslt $(target) : $(source) "$(.boostbook-xsl-dir)/dtd/dtd2boostbook.xsl" :
- $(properties) ;
+ xsltproc.xslt $(target) : $(source)
+ "$(.boostbook-xsl-dir)/dtd/dtd2boostbook.xsl" : $(properties) ;
}
@@ -441,7 +440,7 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/docbook.xsl ] ;
- xslt $(target) : $(source) $(stylesheet) : $(properties) ;
+ xsltproc.xslt $(target) : $(source) $(stylesheet) : $(properties) ;
}
@@ -449,7 +448,7 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/html-single.xsl ] ;
- xslt $(target) : $(source) $(stylesheet) : $(properties) ;
+ xsltproc.xslt $(target) : $(source) $(stylesheet) : $(properties) ;
}
@@ -457,7 +456,8 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/html.xsl ] ;
- xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : html ;
+ xsltproc.xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : html
+ ;
}
@@ -465,7 +465,8 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/xhtml.xsl ] ;
- xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : xhtml ;
+ xsltproc.xslt-dir $(target) : $(source) $(stylesheet) : $(properties) :
+ xhtml ;
}
@@ -473,7 +474,8 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/html-help.xsl ] ;
- xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : htmlhelp ;
+ xsltproc.xslt-dir $(target) : $(source) $(stylesheet) : $(properties) :
+ htmlhelp ;
}
@@ -481,7 +483,8 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/manpages.xsl ] ;
- xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : man ;
+ xsltproc.xslt-dir $(target) : $(source) $(stylesheet) : $(properties) : man
+ ;
}
@@ -489,7 +492,7 @@
{
lock-config ;
local stylesheet = [ path.native $(.boostbook-xsl-dir)/fo.xsl ] ;
- xslt $(target) : $(source) $(stylesheet) : $(properties) ;
+ xsltproc.xslt $(target) : $(source) $(stylesheet) : $(properties) ;
}
@@ -733,7 +736,7 @@
local native-path = [ path.native [ path.join $(.boostbook-xsl-dir) testing
Jamfile ] ] ;
local stylesheet = $(native-path:S=.xsl) ;
- xslt $(target) : $(source) $(stylesheet) : $(properties)
+ xsltproc.xslt $(target) : $(source) $(stylesheet) : $(properties)
<xsl:param>boost.root=$(boost_root) ;
}
@@ -741,7 +744,7 @@
#############################################################################
# Dependency scanners
#############################################################################
-# XInclude scanner. Mostly stolen from c-scanner :)
+# XInclude scanner. Mostly stolen from c-scanner. :)
# Note that this assumes an "xi" prefix for XIncludes. This is not always the
# case for XML documents, but we assume it is true for anything we encounter.
#
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