2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Force using absolute paths when searching for stylesheets as recent DocBook XSL and xsltproc sources fail miserably at using locally rooted paths.

[SVN r49287]
This commit is contained in:
Rene Rivera
2008-10-11 19:02:37 +00:00
parent e3861fcbea
commit 14b0b1a6f5

View File

@@ -21,9 +21,11 @@ if [ os.name ] = NT
: "InstallRoot" ] ;
}
# Plausible locations.
docbook_xsl-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : docbook-xsl* ] ;
docbook_dtd-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : docbook-xml* ] ;
boostbook-path ?= [ GLOB "$(boost-dir)\\share" "\\Boost\\share" : boostbook* ] ;
local root = [ PWD ] ;
while $(root) != $(root:D) { root = $(root:D) ; }
docbook_xsl-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : docbook-xsl* ] ;
docbook_dtd-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : docbook-xml* ] ;
boostbook-path ?= [ GLOB "$(boost-dir)\\share" "$(root)Boost\\share" : boostbook* ] ;
docbook_xsl-path = $(docbook_xsl-path[1]) ;
docbook_dtd-path = $(docbook_dtd-path[1]) ;