mirror of https://gitlab.com/ita1024/waf.git
Changed the cwd - working folders must be given as node objects
This commit is contained in:
parent
a167bcce5f
commit
5b0e88adeb
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue