diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:36:35 +0200 |
commit | 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch) | |
tree | 10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /mimetypes/application | |
parent | aad2d9434f0357643c6ae388679e1f884c5bc519 (diff) | |
download | tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mimetypes/application')
-rw-r--r-- | mimetypes/application/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt index b2c226bcc..a602edcb5 100644 --- a/mimetypes/application/CMakeLists.txt +++ b/mimetypes/application/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop x-tex-gf.desktop x-gzip.desktop x-pak.desktop x-object.desktop x-tex-pk.desktop pdf.desktop @@ -103,13 +104,9 @@ foreach( _mimetype vnd.ms-powerpoint.template.macroEnabled.12.desktop vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop + DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/application - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-applix.desktop ) install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-oowriter.desktop ) |