|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50634 - in sandbox/math_toolkit/libs/math: . doc/sf_and_dist
From: john_at_[hidden]
Date: 2009-01-16 10:53:16
Author: johnmaddock
Date: 2009-01-16 10:53:16 EST (Fri, 16 Jan 2009)
New Revision: 50634
URL: http://svn.boost.org/trac/boost/changeset/50634
Log:
Fix paths to images and stylesheets to use items located via BOOST_ROOT.
Text files modified:
sandbox/math_toolkit/libs/math/doc/sf_and_dist/Jamfile.v2 | 10 +++++++---
sandbox/math_toolkit/libs/math/project-root.jam | 7 ++++---
2 files changed, 11 insertions(+), 6 deletions(-)
Modified: sandbox/math_toolkit/libs/math/doc/sf_and_dist/Jamfile.v2
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/sf_and_dist/Jamfile.v2 (original)
+++ sandbox/math_toolkit/libs/math/doc/sf_and_dist/Jamfile.v2 2009-01-16 10:53:16 EST (Fri, 16 Jan 2009)
@@ -7,17 +7,19 @@
path-constant images_location : html ;
+path-constant boost-root : [ get-boost-path ] ;
+
xml math : math.qbk ;
boostbook standalone
:
math
:
# Path for links to Boost:
- <xsl:param>boost.root=../../../../../../../trunk
+ <xsl:param>boost.root=file://$(boost-root:T)
# Path for libraries index:
- <xsl:param>boost.libraries=$(boost-root)/libs/libraries.htm
+ <xsl:param>boost.libraries=file://$(boost-root:T)/libs/libraries.htm
# Use the main Boost stylesheet:
- <xsl:param>html.stylesheet=../../../../../../../trunk/doc/html/boostbook.css
+ <xsl:param>html.stylesheet=file://$(boost-root:T)/doc/html/boostbook.css
# Some general style settings:
<xsl:param>table.footnote.number.format=1
@@ -73,3 +75,5 @@
install pdf-install : standalone : <location>. <install-type>PDF ;
+
+
Modified: sandbox/math_toolkit/libs/math/project-root.jam
==============================================================================
--- sandbox/math_toolkit/libs/math/project-root.jam (original)
+++ sandbox/math_toolkit/libs/math/project-root.jam 2009-01-16 10:53:16 EST (Fri, 16 Jan 2009)
@@ -53,8 +53,9 @@
-
-
-
+rule get-boost-path
+{
+ return $(boost-root) ;
+}
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