From c51632874022063b5fdf1cd7557dc4bf2b7f727d Mon Sep 17 00:00:00 2001 From: Bernhard Sessler Date: Wed, 8 Jan 2014 15:42:07 +0100 Subject: doc: Fix installation path for API documentation The documentation is now installed to /share/cppunit-/doc when CPPUNIT_INSTALL_APIDOC is ON. Change-Id: If6d07763d0e2aedf67c2792a15757f8f59761ffa Signed-off-by: Bernhard Sessler Reviewed-on: https://gerrit.libreoffice.org/7313 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- doc/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3