summaryrefslogtreecommitdiffstats
path: root/misc/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-28 18:13:33 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-28 18:13:33 +0200
commit440bda1096cdb137746ce5474434a22650cb0e76 (patch)
tree0791a5b051127df5b2375f2dda78eaa1171951e0 /misc/CMakeLists.txt
parent5e7b4208af67228e8dae4bfb4f08d4dd69107102 (diff)
downloadcodeine-440bda1096cdb137746ce5474434a22650cb0e76.tar.gz
codeine-440bda1096cdb137746ce5474434a22650cb0e76.zip
Add CMakeL10n rules.
Update translation templates. Use common cmake rules for documentation. Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'misc/CMakeLists.txt')
-rw-r--r--misc/CMakeLists.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/CMakeLists.txt b/misc/CMakeLists.txt
index 30786a7..99c0db2 100644
--- a/misc/CMakeLists.txt
+++ b/misc/CMakeLists.txt
@@ -15,17 +15,14 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
-install(
- FILES ${PROJECT_NAME}_part.desktop
+tde_create_translated_desktop(
+ SOURCE ${PROJECT_NAME}_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
-install(
- FILES ${PROJECT_NAME}_play_dvd.desktop
+tde_create_translated_desktop(
+ SOURCE ${PROJECT_NAME}_play_dvd.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
)