diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-08-27 15:01:57 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-08-27 15:53:49 +0200 |
commit | 71d3dec76ce1160a038dfbdac339fc6c349e8578 (patch) | |
tree | ff9737518d1d326298f61e4d99a8a4b4b6edcf69 /src/CMakeLists.txt | |
parent | 1d3e19e0a4fabc9c12ff0662b0447fa1e4b67e58 (diff) | |
download | tdeio-locate-71d3dec76ce1160a038dfbdac339fc6c349e8578.tar.gz tdeio-locate-71d3dec76ce1160a038dfbdac339fc6c349e8578.zip |
Copy translations to a new directory layout.
Use common rules for build and install translations.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0e58011..7943241 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -25,10 +25,17 @@ link_directories( ##### other data ################################ -install( FILES locate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES locater.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES rlocate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES locate.desktop DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders ) +tde_create_translated_desktop( + SOURCE + locate.protocol + locater.protocol + rlocate.protocol + DESTINATION ${SERVICES_INSTALL_DIR} +) +tde_create_translated_desktop( + SOURCE locate.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders +) ##### tdeio_locate ############################## |