diff options
author | Slávek Banko <[email protected]> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-25 13:38:09 +0200 |
commit | 3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch) | |
tree | ee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /mimetypes/text | |
parent | 6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff) | |
download | tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
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 ) |