summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-18 23:20:50 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-18 23:20:50 +0000
commit20b40b2428b6c6f555969d1efa909036ede5d8ef (patch)
treeb76d82146c2dd8876df7d5962c89f4fe1940d4c1
parent1d9d9f5ce46f0220f7b1b350f5ad4e6dc5079ac6 (diff)
downloadamarok-20b40b2428b6c6f555969d1efa909036ede5d8ef.tar.gz
amarok-20b40b2428b6c6f555969d1efa909036ede5d8ef.zip
[applications/amarok] cmake generate docs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228473 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--CMakeLists.txt7
-rw-r--r--doc/CMakeLists.txt12
-rw-r--r--doc/amarok/CMakeLists.txt12
-rw-r--r--doc/da/CMakeLists.txt12
-rw-r--r--doc/de/CMakeLists.txt12
-rw-r--r--doc/es/CMakeLists.txt12
-rw-r--r--doc/et/CMakeLists.txt12
-rw-r--r--doc/fr/CMakeLists.txt12
-rw-r--r--doc/it/CMakeLists.txt12
-rw-r--r--doc/nl/CMakeLists.txt12
-rw-r--r--doc/pl/CMakeLists.txt12
-rw-r--r--doc/pt/CMakeLists.txt12
-rw-r--r--doc/pt_BR/CMakeLists.txt12
-rw-r--r--doc/ru/CMakeLists.txt12
-rw-r--r--doc/sv/CMakeLists.txt12
15 files changed, 175 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44cfd0ef..7ff5907d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,6 +48,12 @@ option( WITH_XINE "Enable xine-engine support" OFF )
option( WITH_LIBGPOD "Enable iPod support from libgpod" OFF )
+##### user requested modules ####################
+
+option( BUILD_ALL "Build all" OFF )
+option( BUILD_DOC "Build doc" ${BUILD_ALL} )
+
+
##### configure checks ##########################
include( ConfigureChecks.cmake )
@@ -68,6 +74,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### source directories ########################
add_subdirectory( amarok )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
##### write configure files #####################
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 00000000..a8b8de4b
--- /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/amarok/CMakeLists.txt b/doc/amarok/CMakeLists.txt
new file mode 100644
index 00000000..d0098a22
--- /dev/null
+++ b/doc/amarok/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 amarok )
diff --git a/doc/da/CMakeLists.txt b/doc/da/CMakeLists.txt
new file mode 100644
index 00000000..fa47e2bc
--- /dev/null
+++ b/doc/da/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( LANG da DESTINATION amarok )
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
new file mode 100644
index 00000000..ecc4f567
--- /dev/null
+++ b/doc/de/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( LANG de DESTINATION amarok )
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
new file mode 100644
index 00000000..99cd2fda
--- /dev/null
+++ b/doc/es/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( LANG es DESTINATION amarok )
diff --git a/doc/et/CMakeLists.txt b/doc/et/CMakeLists.txt
new file mode 100644
index 00000000..b09ffc5b
--- /dev/null
+++ b/doc/et/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( LANG et DESTINATION amarok )
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt
new file mode 100644
index 00000000..3bd465c7
--- /dev/null
+++ b/doc/fr/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( LANG fr DESTINATION amarok )
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
new file mode 100644
index 00000000..07a32be8
--- /dev/null
+++ b/doc/it/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( LANG it DESTINATION amarok )
diff --git a/doc/nl/CMakeLists.txt b/doc/nl/CMakeLists.txt
new file mode 100644
index 00000000..1b63b82e
--- /dev/null
+++ b/doc/nl/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( LANG nl DESTINATION amarok )
diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt
new file mode 100644
index 00000000..8e5a48a7
--- /dev/null
+++ b/doc/pl/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( LANG pl DESTINATION amarok )
diff --git a/doc/pt/CMakeLists.txt b/doc/pt/CMakeLists.txt
new file mode 100644
index 00000000..eafa8c8e
--- /dev/null
+++ b/doc/pt/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( LANG pt DESTINATION amarok )
diff --git a/doc/pt_BR/CMakeLists.txt b/doc/pt_BR/CMakeLists.txt
new file mode 100644
index 00000000..5263f9b8
--- /dev/null
+++ b/doc/pt_BR/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( LANG pt_BR DESTINATION amarok )
diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt
new file mode 100644
index 00000000..e390ba13
--- /dev/null
+++ b/doc/ru/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( NOINDEX LANG ru DESTINATION amarok )
diff --git a/doc/sv/CMakeLists.txt b/doc/sv/CMakeLists.txt
new file mode 100644
index 00000000..45827c23
--- /dev/null
+++ b/doc/sv/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( LANG sv DESTINATION amarok )