diff -up doxygen-1.8.11/doc/CMakeLists.txt.config doxygen-1.8.11/doc/CMakeLists.txt
--- doxygen-1.8.11/doc/CMakeLists.txt.config 2016-01-13 16:15:27.037734714 +0100
+++ doxygen-1.8.11/doc/CMakeLists.txt 2016-01-13 17:04:21.374801922 +0100
@@ -169,17 +169,17 @@ install(FILES
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
"${PROJECT_BINARY_DIR}/man/doxysearch.1"
"${PROJECT_BINARY_DIR}/man/doxyindexer.1"
- DESTINATION share/man/man1
+ DESTINATION "${MAN_INSTALL_DIR}"
)
install(FILES
"${PROJECT_BINARY_DIR}/latex/doxygen_manual.pdf"
- DESTINATION "${CMAKE_INSTALL_PREFIX}/${DOC_INSTALL_DIR}"
+ DESTINATION "${DOC_INSTALL_DIR}"
)
install(DIRECTORY
"${PROJECT_BINARY_DIR}/html"
- DESTINATION "${CMAKE_INSTALL_PREFIX}/${DOC_INSTALL_DIR}"
+ DESTINATION "${DOC_INSTALL_DIR}"
)
endif(build_doc)