summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
-rw-r--r--doc/CMakeLists.txt12
-rw-r--r--doc/cervisia/CMakeLists.txt12
-rw-r--r--doc/kbabel/CMakeLists.txt12
-rw-r--r--doc/kbugbuster/CMakeLists.txt12
-rw-r--r--doc/kcachegrind/CMakeLists.txt12
-rw-r--r--doc/kompare/CMakeLists.txt12
-rw-r--r--doc/scripts/CMakeLists.txt12
-rw-r--r--doc/scripts/kdesvn-build/CMakeLists.txt12
-rw-r--r--doc/umbrello/CMakeLists.txt12
10 files changed, 110 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 169d8388..59ca9ad8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,15 +41,11 @@ include( TDESetupPaths )
tde_setup_paths( )
-##### optional stuff ############################
-
-# option( WITH_ARTS "Enable aRts support" OFF )
-
-
##### user requested modules ####################
option( BUILD_ALL "Build all" OFF )
option( BUILD_CERVISIA "Build cervisia" ${BUILD_ALL} )
+option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_KAPPTEMPLATE "Build kapptemplate" ${BUILD_ALL} )
@@ -75,6 +71,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### kdesdk directories ########################
tde_conditional_add_subdirectory( BUILD_CERVISIA cervisia )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_KAPPTEMPLATE kapptemplate )
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 00000000..df842e47
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_auto_add_subdirectories( )
diff --git a/doc/cervisia/CMakeLists.txt b/doc/cervisia/CMakeLists.txt
new file mode 100644
index 00000000..08bc09ef
--- /dev/null
+++ b/doc/cervisia/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION cervisia )
diff --git a/doc/kbabel/CMakeLists.txt b/doc/kbabel/CMakeLists.txt
new file mode 100644
index 00000000..1b0fb9d3
--- /dev/null
+++ b/doc/kbabel/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION kbabel )
diff --git a/doc/kbugbuster/CMakeLists.txt b/doc/kbugbuster/CMakeLists.txt
new file mode 100644
index 00000000..d1fc9fb2
--- /dev/null
+++ b/doc/kbugbuster/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION kbugbuster )
diff --git a/doc/kcachegrind/CMakeLists.txt b/doc/kcachegrind/CMakeLists.txt
new file mode 100644
index 00000000..7e7cb518
--- /dev/null
+++ b/doc/kcachegrind/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION kcachegrind )
diff --git a/doc/kompare/CMakeLists.txt b/doc/kompare/CMakeLists.txt
new file mode 100644
index 00000000..f0e46bfe
--- /dev/null
+++ b/doc/kompare/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION kompare )
diff --git a/doc/scripts/CMakeLists.txt b/doc/scripts/CMakeLists.txt
new file mode 100644
index 00000000..a0e83e48
--- /dev/null
+++ b/doc/scripts/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( kdesvn-build )
diff --git a/doc/scripts/kdesvn-build/CMakeLists.txt b/doc/scripts/kdesvn-build/CMakeLists.txt
new file mode 100644
index 00000000..4359269d
--- /dev/null
+++ b/doc/scripts/kdesvn-build/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION kdesvn-build )
diff --git a/doc/umbrello/CMakeLists.txt b/doc/umbrello/CMakeLists.txt
new file mode 100644
index 00000000..cfc9a91f
--- /dev/null
+++ b/doc/umbrello/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_create_handbook( DESTINATION umbrello )