diff options
Diffstat (limited to 'doc/kspell/CMakeLists.txt')
-rw-r--r-- | doc/kspell/CMakeLists.txt | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/kspell/CMakeLists.txt b/doc/kspell/CMakeLists.txt index bdad90631..8f999e770 100644 --- a/doc/kspell/CMakeLists.txt +++ b/doc/kspell/CMakeLists.txt @@ -9,13 +9,5 @@ # ################################################# -add_custom_command( - OUTPUT index.cache.bz2 - COMMAND ${CMAKE_BINARY_DIR}/kdoctools/meinproc --srcdir=${CMAKE_SOURCE_DIR}/kdoctools --check --cache index.cache.bz2 ${CMAKE_CURRENT_SOURCE_DIR}/index.docbook - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/index.docbook meinproc ) - -install( FILES - index.docbook ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2 - DESTINATION ${HTML_INSTALL_DIR}/en/kspell ) - -add_custom_target( kspell-doc ALL DEPENDS index.cache.bz2 ) +tde_create_handbook( SRCDIR ${CMAKE_SOURCE_DIR}/kdoctools DESTINATION kspell ) +add_dependencies( kspell-handbook meinproc ) |