1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From d334df90f8d0901c4a0facd7b043a3ef542425f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
<frederic.pierret@qubes-os.org>
Date: Sat, 28 Nov 2020 20:25:23 +0100
Subject: [PATCH] docs: define SPHINX_BUILD_NAME with sphinx python path
scripts
doc/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 2896c422..e116b4c1 100644
@@ -7,6 +7,7 @@ else()
SET(SPHINX_BUILD_NAME "sphinx-build-3")
endif()
+set (SPHINX_BUILD_NAME "/usr/share/sphinx/scripts/python${PYTHON_VERSION_MAJOR}/sphinx-build")
ADD_CUSTOM_TARGET (doc-html
PYTHONPATH=${CMAKE_SOURCE_DIR} ${SPHINX_BUILD_NAME} -b html
--
2.26.2
|