Blame SOURCES/0066-cmake-Use-correct-installation-dir-for-generated-doc.patch

f68f66
From f8f63a8b4033549d47384c6e2b1972ae1a2775fc Mon Sep 17 00:00:00 2001
f68f66
From: Andreas Schneider <asn@cryptomilk.org>
f68f66
Date: Wed, 2 Jan 2019 10:28:57 +0100
f68f66
Subject: [PATCH 66/70] cmake: Use correct installation dir for generated docs
f68f66
f68f66
Fixes #623
f68f66
f68f66
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
f68f66
---
f68f66
 cmake/generateDoc.cmake | 2 +-
f68f66
 1 file changed, 1 insertion(+), 1 deletion(-)
f68f66
f68f66
diff --git a/cmake/generateDoc.cmake b/cmake/generateDoc.cmake
f68f66
index a3aea727..16823946 100644
f68f66
--- a/cmake/generateDoc.cmake
f68f66
+++ b/cmake/generateDoc.cmake
f68f66
@@ -21,7 +21,7 @@ macro(generate_documentation DOX_CONFIG_FILE)
f68f66
     set(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/doxy.config")
f68f66
     add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG})
f68f66
 
f68f66
-    install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION "share/doc/lib${PROJECT_NAME}")
f68f66
+    install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION ${CMAKE_INSTALL_DOCDIR})
f68f66
 
f68f66
     set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES doc)
f68f66
 endmacro()
f68f66
-- 
f68f66
2.17.2
f68f66