Use glob instead of path.glob, as it's relative to the Jamfile

This commit is contained in:
Peter Dimov
2018-10-16 06:24:42 +03:00
parent 0c3aa448b9
commit 9d9d11fe80

View File

@@ -3,12 +3,9 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import docutils ;
import path ;
path-constant HERE : . ;
sources = [ path.glob $(HERE) : *.rst ] ;
bases = $(sources:D=:S=) ;
sources = [ glob *.rst ] ;
bases = $(sources:S=) ;
# This is a path relative to the html/ subdirectory where the
# generated output will eventually be moved.