summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
blob: e7f0adc70c94aa18f6d14e7a5102902d370ee72a (plain)
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 4e388caabf0906f09d697b8d08623a022f7270b2 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Wed, 29 Nov 2023 14:09:06 +0100
Subject: [PATCH] docs/CMakeLists.txt: do not install non-existent docs/html

Building html would require doxygen-native.

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>

---
 docs/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 52dce7b4e..c01ff7757 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -18,7 +18,6 @@ if (DOXYGEN_FOUND)
 elseif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/html/index.html)
 	set(doxsrc ${CMAKE_CURRENT_SOURCE_DIR})
 endif()
-install(DIRECTORY ${doxsrc}/html/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/API)
 
 install(FILES
 	README.md