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 )