mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
Don't try to transform a native path for the DocBook DTD/XSL if no
path was given [SVN r18267]
This commit is contained in:
@@ -67,8 +67,14 @@ rule init ( docbook-xsl-dir ? : docbook-dtd-dir ? )
|
||||
if ! $(.initialized)
|
||||
{
|
||||
$(.initialized) = true ;
|
||||
.docbook-xsl-dir = [ path.make $(docbook-xsl-dir) ] ;
|
||||
.docbook-dtd-dir = [ path.make $(docbook-dtd-dir) ] ;
|
||||
if $(docbook-xsl-dir)
|
||||
{
|
||||
.docbook-xsl-dir = [ path.make $(docbook-xsl-dir) ] ;
|
||||
}
|
||||
if $(docbook-dtd-dir)
|
||||
{
|
||||
.docbook-dtd-dir = [ path.make $(docbook-dtd-dir) ] ;
|
||||
}
|
||||
local boost-root = [ path.make [ modules.peek : BOOST_ROOT ] ] ;
|
||||
.boostbook-xsl-dir = [ path.join $(boost-root) tools boostbook xsl/ ] ;
|
||||
.boostbook-dtd-dir = [ path.join $(boost-root) tools boostbook dtd/ ] ;
|
||||
|
||||
Reference in New Issue
Block a user