summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-04 10:50:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-04 17:40:53 +0200
commit6aca194f31431dbcef1b1604c23bbf501fd46f78 (patch)
tree9fbb80e69da2a271ee4cb9471804d3fe3a4ed9fe
parent17002c193dcecec2cf95289e45ce29851c8ae804 (diff)
downloadtellico-6aca194f.tar.gz
tellico-6aca194f.zip
Use common rules to build documentation.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt3
-rw-r--r--doc/CMakeLists.txt13
-rw-r--r--doc/en/CMakeLists.txt12
-rw-r--r--doc/fr/CMakeLists.txt12
4 files changed, 2 insertions, 38 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee1b229..352534f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,11 +99,12 @@ add_subdirectory( src )
add_subdirectory( icons )
add_subdirectory( xslt )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
##### other data ################################
+tde_conditional_add_project_docs( BUILD_DOC )
+
install( FILES tellico.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
deleted file mode 100644
index 6d282e4..0000000
--- a/doc/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-#################################################
-#
-# (C) 2016 Slávek Banko
-# slavek (DOT) banko (AT) axis.cz
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-add_subdirectory( en )
-add_subdirectory( fr )
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
deleted file mode 100644
index 0a59080..0000000
--- a/doc/en/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-#################################################
-#
-# (C) 2016 Slávek Banko
-# slavek (DOT) banko (AT) axis.cz
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-tde_create_handbook( LANG en DESTINATION tellico )
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt
deleted file mode 100644
index 0391603..0000000
--- a/doc/fr/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-#################################################
-#
-# (C) 2016 Slávek Banko
-# slavek (DOT) banko (AT) axis.cz
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-tde_create_handbook( LANG fr DESTINATION tellico )