From 9a097afe77c72723d317f9e0449a9e2ad8f1b442 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Nov 2020 17:44:40 +0100 Subject: Hack Sphinx tool to not load gnu_dirs I do not use this tool because it's not quite right. It doesn't seem super appropriate for tools to be loading things like this anyway, requiring DOCDIR to be defined in whatever way the project deems fit seems fine. --- extras/sphinx.py | 1 - 1 file changed, 1 deletion(-) diff --git a/extras/sphinx.py b/extras/sphinx.py index 71d1028..4567014 100644 --- a/extras/sphinx.py +++ b/extras/sphinx.py @@ -27,7 +27,6 @@ from waflib.TaskGen import feature, after_method def configure(cnf): """Check if sphinx-build program is available and loads gnu_dirs tool.""" cnf.find_program('sphinx-build', var='SPHINX_BUILD', mandatory=False) - cnf.load('gnu_dirs') @feature('sphinx') -- cgit v1.2.1