diff options
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch')
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch deleted file mode 100644 index 6dd7c71aae..0000000000 --- a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From b570c7f8bd089deec7da2b108aa789a27025a473 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 19 Nov 2019 13:46:09 +0100 | ||
4 | Subject: [PATCH] Look fo sphinx only if documentation is actually enabled | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | docs/hawkey/CMakeLists.txt | 20 +++++++++++--------- | ||
10 | 1 file changed, 11 insertions(+), 9 deletions(-) | ||
11 | |||
12 | diff --git a/docs/hawkey/CMakeLists.txt b/docs/hawkey/CMakeLists.txt | ||
13 | index 52cc35c6..63c7672f 100644 | ||
14 | --- a/docs/hawkey/CMakeLists.txt | ||
15 | +++ b/docs/hawkey/CMakeLists.txt | ||
16 | @@ -2,15 +2,17 @@ | ||
17 | # tell sphinx-build to do them both in one go: | ||
18 | |||
19 | |||
20 | -find_program(SPHINX_PROGRAM NAMES "sphinx-build-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") | ||
21 | -if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
22 | - find_program(SPHINX_PROGRAM NAMES sphinx-build-${PYTHON_VERSION_MAJOR}) | ||
23 | -endif() | ||
24 | -if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
25 | - find_program(SPHINX_PROGRAM NAMES sphinx-build) | ||
26 | -endif() | ||
27 | -if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
28 | - message(FATAL_ERROR "Sphinx program not found." ) | ||
29 | +if (WITH_HTML OR WITH_MAN) | ||
30 | + find_program(SPHINX_PROGRAM NAMES "sphinx-build-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") | ||
31 | + if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
32 | + find_program(SPHINX_PROGRAM NAMES sphinx-build-${PYTHON_VERSION_MAJOR}) | ||
33 | + endif() | ||
34 | + if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
35 | + find_program(SPHINX_PROGRAM NAMES sphinx-build) | ||
36 | + endif() | ||
37 | + if(NOT EXISTS ${SPHINX_PROGRAM}) | ||
38 | + message(FATAL_ERROR "Sphinx program not found." ) | ||
39 | + endif() | ||
40 | endif() | ||
41 | |||
42 | if(WITH_HTML) | ||