From f98b87600f0e2db9e1ba8f6498a35dd361abfd5e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 16 Oct 2018 03:45:12 +0300 Subject: [PATCH] Fix path.glob relative path --- doc/Jamfile.v2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 9e98ecd..76b4822 100755 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,12 +1,15 @@ # Copyright David Abrahams 2006. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -import docutils ; +import docutils ; import path ; -sources = [ path.glob . : *.rst ] ; + +path-constant HERE : . ; + +sources = [ path.glob $(HERE) : *.rst ] ; bases = $(sources:S=) ; - + # This is a path relative to the html/ subdirectory where the # generated output will eventually be moved. stylesheet = "--stylesheet=rst.css" ;