aboutsummaryrefslogtreecommitdiffstats
path: root/math/yacas/files/patch-CMakeLists-docs.txt
blob: 90ca38b8fb26b4b0876d797b80d0c987b675281e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- CMakeLists-docs.txt.orig    2016-04-08 09:58:59 UTC
+++ CMakeLists-docs.txt
@@ -39,7 +39,7 @@ add_custom_target(yacas_docs ALL
         "${SPHINX_SINGLEHTML_DIR}"
     COMMENT "Building HTML documentation with Sphinx")
 
-install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION share/yacas/documentation COMPONENT doc)
+install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION ${DOCSDIR} COMPONENT doc)
 
 if (ENABLE_OLD_DOCS)
 
@@ -161,4 +161,4 @@ if (ENABLE_OLD_DOCS)
 
     install (FILES ${HTML_BOOKS} ${HTML_CHAPTERS} DESTINATION share/yacas/documentation COMPONENT doc)
 
-endif ()
\ No newline at end of file
+endif ()