summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-26 17:26:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-26 17:27:07 +0200
commit9b7e80d02307f6b527bfeff4ff9cc8fed75e9e87 (patch)
tree0bc36c7f5725518a0ad086cdc116616681e841c6 /CMakeLists.txt
parentede69f43aa49f237fc2d1ab15454278d41d8e7e9 (diff)
downloadkshutdown-9b7e80d0.tar.gz
kshutdown-9b7e80d0.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b4e193769aba187b9ec26d6055eeab4431fb9601)
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 b556251..f139513 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,8 +75,12 @@ add_subdirectory( karamba )
add_subdirectory( sounds )
add_subdirectory( pics )
tde_conditional_add_subdirectory( BUILD_EXTRAS extras )
-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