summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Sessler <bernhard.sessler@corscience.de>2014-01-08 15:42:07 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-11 16:14:19 +0000
commitc51632874022063b5fdf1cd7557dc4bf2b7f727d (patch)
tree2ccab280a866e6d51b162584ea231230a7107b1a
parent721a1ad7c779786a5a867a2ec24c23917c57ba05 (diff)
downloadcppunit-feature/cmake.tar.gz
doc: Fix installation path for API documentationfeature/cmake
The documentation is now installed to <prefix>/share/cppunit-<version>/doc when CPPUNIT_INSTALL_APIDOC is ON. Change-Id: If6d07763d0e2aedf67c2792a15757f8f59761ffa Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7313 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--doc/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 08864b8..bb73a31 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -36,5 +36,6 @@ add_custom_target(apidoc ${_cppunit_apidoc_all}
COMMENT "Generating HTML documentation")
if(CPPUNIT_INSTALL_APIDOC)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cppunit DESTINATION share/doc)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cppunit/
+ DESTINATION share/${CPPUNIT_VERSION}/doc COMPONENT doc)
endif()