From c2256a4ed949bad6b85086113dc570472a0f7c11 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Tue, 4 May 2021 14:12:53 -0400 Subject: [PATCH] Changed Sphinx invocation from sphinx to sphinx-build for RHEL7 --- python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 44bc36a..e7d0f10 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -125,7 +125,7 @@ else () COMMAND ${PN_ENV_SCRIPT} -- PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CMAKE_CURRENT_SOURCE_DIR} LD_LIBRARY_PATH="${CMAKE_CURRENT_BINARY_DIR}/c" - ${Python_EXECUTABLE} -m sphinx "${CMAKE_CURRENT_SOURCE_DIR}/docs" "${CMAKE_CURRENT_BINARY_DIR}/docs") + sphinx-build "${CMAKE_CURRENT_SOURCE_DIR}/docs" "${CMAKE_CURRENT_BINARY_DIR}/docs") add_dependencies(docs docs-py) install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/docs/" DESTINATION "${PROTON_SHARE}/docs/api-py" -- 1.8.3.1