diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7e5fab2..0d3ff90 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,13 +30,24 @@ 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) ###################### + tde_add_tdeinit_executable( tdepowersave AUTOMOC SOURCES dummy.cpp autodimm.cpp autosuspend.cpp |