diff options
author | 2018-09-17 19:39:26 +0200 | |
---|---|---|
committer | 2019-10-22 20:10:53 +0200 | |
commit | 382e5e7735ed86b91e57a5a2427277142b1814ec (patch) | |
tree | 5a8aaaeac6a2dbd2e3758ca9c89987ead193bc64 /doc/api | |
parent | b5eedf61b341dcf7681c8ec6bd02ac5e9493238a (diff) | |
download | paludis-382e5e7735ed86b91e57a5a2427277142b1814ec.tar.gz paludis-382e5e7735ed86b91e57a5a2427277142b1814ec.tar.xz |
doc/python: Run sphinx with the same python version we build against
The shebang of the sphinx-build binary does not necessarily point to
the python version we use to build our python bindings. On Exherbo
Sphinx provides multiple library version but only a single executable
which gets a shebang pointing to the last selected ABI
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/python/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/python/CMakeLists.txt b/doc/api/python/CMakeLists.txt index 55f40d738..7652c1c0c 100644 --- a/doc/api/python/CMakeLists.txt +++ b/doc/api/python/CMakeLists.txt @@ -18,7 +18,7 @@ if(ENABLE_PYTHON_DOCS) add_custom_command(COMMAND env PYTHONPATH="${CMAKE_BINARY_DIR}/python" - "${SPHINX_EXECUTABLE}" + "${PYTHON_EXECUTABLE}" "${SPHINX_EXECUTABLE}" -c "${CMAKE_CURRENT_BINARY_DIR}" -b html -d "${CMAKE_CURRENT_BINARY_DIR}/doctrees" |