File: 0001-docs-define-SPHINX_BUILD_NAME-with-sphinx-python-pat.patch

package info (click to toggle)
dnf 4.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 11,804 kB
  • sloc: python: 27,647; xml: 771; sh: 131; makefile: 35
file content (26 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (3)
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
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -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