[rtems commit] waf: Update to support a recent waf.

Chris Johns chrisj at rtems.org
Fri Oct 28 17:16:57 UTC 2016


Module:    rtems
Branch:    master
Commit:    f3a7c9641ba030dd2e8b5f010c4b79df7bcf5c67
Changeset: http://git.rtems.org/rtems/commit/?id=f3a7c9641ba030dd2e8b5f010c4b79df7bcf5c67

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sat Oct 29 04:16:08 2016 +1100

waf: Update to support a recent waf.

---

 common/waf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/waf.py b/common/waf.py
index d7a46c1..0e31c1f 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -83,7 +83,7 @@ def doc_pdf(ctx, source_dir, conf_dir):
 
 	ctx(
 		rule	= "${BIN_SPHINX_BUILD} -b latex -c %s -j %d -d build/doctrees %s build/latex" % (conf_dir, ctx.options.jobs, source_dir),
-		cwd		= ctx.path.abspath(),
+		cwd		= ctx.path,
 		source	= ctx.path.ant_glob('**/*.rst'),
 		target	= "latex/%s.tex" % ctx.path.name
 	)
@@ -92,7 +92,7 @@ def doc_pdf(ctx, source_dir, conf_dir):
 
 	ctx(
 		features	= 'tex',
-		cwd			= "%s/latex/" % ctx.path.get_bld().abspath(),
+		cwd		= "%s/latex/" % ctx.path.get_bld().abspath(),
 		type		= 'pdflatex',
 		source		= ctx.bldnode.find_or_declare("latex/%s.tex" % ctx.path.name),
 		prompt		= 0




More information about the vc mailing list