summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-13 21:35:16 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-13 21:35:16 +0000
commitbb97b446e148799edbb0771e7659ab86e8e57e56 (patch)
treec0508fd317317654dc347ddba0558d4a6565bb59
parent829c108ce91731433b312f9737e0d635d9b5c558 (diff)
downloadtdelibs-bb97b446e148799edbb0771e7659ab86e8e57e56.tar.gz
tdelibs-bb97b446e148799edbb0771e7659ab86e8e57e56.zip
[kdelibs/doc] added kspell documentation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1185610 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--CMakeLists.txt5
-rw-r--r--doc/CMakeLists.txt1
-rw-r--r--doc/kspell/CMakeLists.txt21
3 files changed, 23 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8d035031..1d8fd9e2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -765,10 +765,7 @@ add_subdirectory( kded )
# add_subdirectory( kded_post )
add_subdirectory( kdoctools )
-
-# FIXME is not very important, I will back there later
-# add_subdirectory( doc )
-
+add_subdirectory( doc )
add_subdirectory( kparts )
add_subdirectory( kutils )
add_subdirectory( kspell2 )
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 930db3e21..f4dc993cf 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -10,3 +10,4 @@
#################################################
add_subdirectory( common )
+add_subdirectory( kspell )
diff --git a/doc/kspell/CMakeLists.txt b/doc/kspell/CMakeLists.txt
index e69de29bb..bdad90631 100644
--- a/doc/kspell/CMakeLists.txt
+++ b/doc/kspell/CMakeLists.txt
@@ -0,0 +1,21 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+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 )