summaryrefslogtreecommitdiffstats
path: root/tdeprint/filters
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
commit42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch)
tree10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /tdeprint/filters
parentaad2d9434f0357643c6ae388679e1f884c5bc519 (diff)
downloadtdelibs-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 'tdeprint/filters')
-rw-r--r--tdeprint/filters/CMakeLists.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/tdeprint/filters/CMakeLists.txt b/tdeprint/filters/CMakeLists.txt
index 4ef77f94f..3915eee6c 100644
--- a/tdeprint/filters/CMakeLists.txt
+++ b/tdeprint/filters/CMakeLists.txt
@@ -11,20 +11,17 @@
##### other data ################################
-foreach( _desktop
+tde_create_translated_desktop(
+ SOURCE
enscript.desktop psnup.desktop
imagetops.desktop pdfwrite.desktop
psbook1.desktop psbook2.desktop
psbook.desktop psselect.desktop
ps2pdf.desktop pdf2ps.desktop
poster.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
+ PO_DIR tdeprint-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
- )
-endforeach()
install(
FILES