summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-16 12:22:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-18 12:03:21 +0200
commit839233498639cbf53b00d60f13e07db2d47f150a (patch)
treeacece31d8af3a19a8647ecc0c8704e57d227a0e5 /CMakeLists.txt
parent029ebf59a26d05bd8fd6a29535b578cd7f4f75ca (diff)
downloadkdiff3-839233498639cbf53b00d60f13e07db2d47f150a.tar.gz
kdiff3-839233498639cbf53b00d60f13e07db2d47f150a.zip
Use common rules for build and install documentation and translations.
Customized copy of the usual en/common directory deleted because the standard version from tdelibs is always used for TDE version. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 544453b..1534d2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,8 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( kdiff3plugin )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files