summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/CMakeLists.txt12
-rw-r--r--tdehtml/java/CMakeLists.txt2
-rw-r--r--tdehtml/tdemultipart/CMakeLists.txt2
3 files changed, 7 insertions, 9 deletions
diff --git a/tdehtml/CMakeLists.txt b/tdehtml/CMakeLists.txt
index f133e5f6c..cb0aaa336 100644
--- a/tdehtml/CMakeLists.txt
+++ b/tdehtml/CMakeLists.txt
@@ -59,13 +59,11 @@ install( FILES
##### other data ################################
-foreach( _service tdehtml.desktop tdehtmlimage.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdehtml.desktop tdehtmlimage.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdehtml-desktops
+)
install( FILES tdehtml.rc tdehtml_browser.rc tdehtml_popupmenu.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml )
diff --git a/tdehtml/java/CMakeLists.txt b/tdehtml/java/CMakeLists.txt
index 38a45b24e..dd670cdce 100644
--- a/tdehtml/java/CMakeLists.txt
+++ b/tdehtml/java/CMakeLists.txt
@@ -42,7 +42,7 @@ configure_file( kjava.policy.in kjava.policy @ONLY )
tde_create_translated_desktop(
SOURCE kjavaappletviewer.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
+ PO_DIR tdehtml-desktops
)
install( FILES kjava.jar ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy pluginsinfo DESTINATION ${DATA_INSTALL_DIR}/kjava )
diff --git a/tdehtml/tdemultipart/CMakeLists.txt b/tdehtml/tdemultipart/CMakeLists.txt
index a16c25978..65ca8733b 100644
--- a/tdehtml/tdemultipart/CMakeLists.txt
+++ b/tdehtml/tdemultipart/CMakeLists.txt
@@ -33,7 +33,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdemultipart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
+ PO_DIR tdehtml-desktops
)