aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-11 10:20:27 -0300
committerDavid Bremner <david@tethera.net>2020-07-15 08:37:11 -0300
commita05da45523a8ce65a2db73040824bb7307e7351d (patch)
tree5a09ea09fbf57accd3954b5047a6dc76e8d7d738 /configure
parent0e03e2d45e36edb635229f356bf41f153c30a70f (diff)
doc: add new python bindings to main documentation tree.
A separate conf.py and doc directory (or will be needed if someone wants to build the bindings docs separately from notmuch.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index c8690d3a..b4ee7f37 100755
--- a/configure
+++ b/configure
@@ -801,6 +801,7 @@ if [ $have_python3 -eq 1 ]; then
if "$python" -c 'import cffi,setuptools; cffi.FFI().verify()' >/dev/null 2>&1; then
printf "Yes.\n"
have_python3_cffi=1
+ WITH_PYTHON_DOCS=1
else
printf "No (will not install CFFI-based python bindings).\n"
fi
@@ -1554,6 +1555,9 @@ EOF
if [ $WITH_EMACS = "1" ]; then
printf "tags.add('WITH_EMACS')\n" >> sphinx.config
fi
+if [ $WITH_PYTHON_DOCS = "1" ]; then
+ printf "tags.add('WITH_PYTHON')\n" >> sphinx.config
+fi
printf "rsti_dir = '%s'\n" $(realpath emacs) >> sphinx.config
# Finally, after everything configured, inform the user how to continue.