summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-12 11:23:45 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-12 11:23:45 +0000
commitc058914ad1de23d9598eaf70a1df9eeecbf9063e (patch)
treebd424316cd23e216142d824dc4f2920ee09631fe /doc
parent7920b30ceb0732d6ef1f4430a5483b2e378c9879 (diff)
downloadtdelibs-c058914ad1de23d9598eaf70a1df9eeecbf9063e.tar.gz
tdelibs-c058914ad1de23d9598eaf70a1df9eeecbf9063e.zip
[kdelibs] kspell documentation: use tde_create_handbook() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1224578 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'doc')
-rw-r--r--doc/kspell/CMakeLists.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/kspell/CMakeLists.txt b/doc/kspell/CMakeLists.txt
index bdad9063..8f999e77 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 )