Changed the cwd - working folders must be given as node objects

This commit is contained in:
Thomas Nagy 2016-01-16 13:03:09 +01:00
parent a167bcce5f
commit 5b0e88adeb
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def build(bld):
bld.path.make_node('_static').mkdir()
bld(
rule = "${SPHINX_BUILD} ${SPHINX_ARGS} -b html -d %s . %s" % (os.path.join(out, "doctrees"), os.path.join(out, "html")),
cwd = bld.path.abspath(),
cwd = bld.path,
source = bld.path.parent.parent.find_dir('waflib').ant_glob('**/*.py')
+ bld.path.ant_glob('**/*.rst')
+ bld.path.ant_glob('_templates/indexcontent.html')