summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c5071df..210a9c6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -30,10 +30,20 @@ link_directories(
##### other data ################################
tde_install_icons( tdepowersave )
-install( FILES tdepowersave.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES tdepowersave-autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
-install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/tdepowersave )
-install( FILES config/tdepowersaverc_default RENAME tdepowersaverc DESTINATION ${CONFIG_INSTALL_DIR} )
+tde_create_translated_desktop( tdepowersave.desktop )
+tde_create_translated_desktop(
+ SOURCE tdepowersave-autostart.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+)
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/tdepowersave
+)
+install(
+ FILES config/tdepowersaverc_default
+ RENAME tdepowersaverc
+ DESTINATION ${CONFIG_INSTALL_DIR}
+)
##### tdepowersave (tdeinit) ######################