Reenable building of docs.

This commit is contained in:
Andrius Štikonas 2015-02-15 13:35:21 +00:00
parent 431450b94d
commit 94c4ec0398
2 changed files with 10 additions and 6 deletions

View File

@ -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}
)

View File

@ -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 )