From 057207721ce4476a7967d68903a1f0520d558c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 4 Jul 2021 10:50:57 +0200 Subject: [PATCH] Use common rules to build documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 6aca194f31431dbcef1b1604c23bbf501fd46f78) --- CMakeLists.txt | 3 ++- doc/CMakeLists.txt | 13 ------------- doc/en/CMakeLists.txt | 12 ------------ doc/fr/CMakeLists.txt | 12 ------------ 4 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 doc/CMakeLists.txt delete mode 100644 doc/en/CMakeLists.txt delete mode 100644 doc/fr/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index a490c83..0f81f9d 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 )