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/text | |
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/text')
-rw-r--r-- | mimetypes/text/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mimetypes/text/CMakeLists.txt b/mimetypes/text/CMakeLists.txt index d76b114eb..918024dce 100644 --- a/mimetypes/text/CMakeLists.txt +++ b/mimetypes/text/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-c++src.desktop x-c++hdr.desktop x-csrc.desktop x-java.desktop x-makefile.desktop x-moc.desktop x-pascal.desktop x-objchdr.desktop x-tcl.desktop x-tex.desktop html.desktop plain.desktop enriched.desktop x-chdr.desktop @@ -20,12 +21,8 @@ foreach( _mimetype x-bibtex.desktop rdf.desktop rss.desktop calendar.desktop x-adasrc.desktop x-perl.desktop x-csv.desktop x-latex.desktop x-xslfo.desktop x-xslt.desktop vnd.wap.wml.desktop x-katefilelist.desktop docbook.desktop x-mswinurl.desktop x-hex.desktop vnd.abc.desktop javascript.desktop x-python.desktop + DESTINATION ${MIME_INSTALL_DIR}/text + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/text - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop ) |