From 94c4ec0398f74221f1716eedc18d58c2d331cd95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 15 Feb 2015 13:35:21 +0000 Subject: [PATCH] Reenable building of docs. --- CMakeLists.txt | 14 +++++++++----- doc/CMakeLists.txt | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f01083..ea27ab5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,10 +80,14 @@ include_directories(${Qt5Core_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${BLKID_INCLUDE add_subdirectory(lib) add_subdirectory(src) add_subdirectory(icons) +add_subdirectory(doc) + +ki18n_install(po) + +get_filename_component(_doc_translations_path doc-translations ABSOLUTE) + +if (EXISTS ${_doc_translations_path}/CMakeLists.txt) + add_subdirectory(doc-translations) +endif() message(STATUS "KDE Partition Manager ${VERSION} will be built for install into ${CMAKE_INSTALL_PREFIX}") - -add_custom_target(docs - COMMAND doxygen Doxyfile - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} -) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index dd75aec..5180d7c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1 +1 @@ -kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en) +kdoctools_create_handbook( index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR partitionmanager )