diff options
author | Slávek Banko <[email protected]> | 2021-07-04 10:50:57 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-04 18:44:52 +0200 |
commit | 057207721ce4476a7967d68903a1f0520d558c5a (patch) | |
tree | 78162292aca37a2f64682db728128654fdff6178 | |
parent | 438ed1ab7a6b70d6878b6dd5019a17d7903cf360 (diff) | |
download | tellico-057207721ce4476a7967d68903a1f0520d558c5a.tar.gz tellico-057207721ce4476a7967d68903a1f0520d558c5a.zip |
Use common rules to build documentation.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 6aca194f31431dbcef1b1604c23bbf501fd46f78)
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 13 | ||||
-rw-r--r-- | doc/en/CMakeLists.txt | 12 | ||||
-rw-r--r-- | doc/fr/CMakeLists.txt | 12 |
4 files changed, 2 insertions, 38 deletions
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 ) |