2
0
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:
Douglas Gregor
2003-04-16 17:44:05 +00:00
parent 72e727f4de
commit dec841a1f2

View File

@@ -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/ ] ;