mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path. [SVN r31212]
This commit is contained in:
@@ -99,14 +99,8 @@ rule init ( docbook-xsl-dir ? : docbook-dtd-dir ? : boostbook-dir ? )
|
||||
for local dir in $(search-dirs) {
|
||||
boostbook-dtd-dir += [ path.glob $(dir) : dtd ] ;
|
||||
}
|
||||
if $(boostbook-xsl-dir)
|
||||
{
|
||||
.boostbook-xsl-dir = [ path.make $(boostbook-xsl-dir[1]) ] ;
|
||||
}
|
||||
if $(boostbook-dtd-dir)
|
||||
{
|
||||
.boostbook-dtd-dir = [ path.make $(boostbook-dtd-dir[1]) ] ;
|
||||
}
|
||||
.boostbook-xsl-dir = $(boostbook-xsl-dir[1]) ;
|
||||
.boostbook-dtd-dir = $(boostbook-dtd-dir[1]) ;
|
||||
|
||||
|
||||
if ! $(.boostbook-xsl-dir) || ! $(.boostbook-dtd-dir)
|
||||
|
||||
Reference in New Issue
Block a user