Commit a85722c9 authored by Laurent Montel's avatar Laurent Montel 😁

Update installation variables.

parent bb1709ed
......@@ -162,24 +162,24 @@ if (Qt5X11Extras_FOUND)
endif()
install(TARGETS kalarm_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kalarm_bin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
#endif (UNIX)
########### install files ###############
install(PROGRAMS org.kde.kalarm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(PROGRAMS kalarm.autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
install(FILES kalarm.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR})
install(FILES kalarmconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES kalarmui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kalarm)
install(FILES org.kde.kalarm.kalarm.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
install(FILES kalarm.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install(PROGRAMS kalarm-version.pl kalarm-1.2.1-general.pl kalarm-1.9.5-defaults.pl kalarm-2.0.2-general.pl kalarm-2.1.5-general.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install(PROGRAMS org.kde.kalarm.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(PROGRAMS kalarm.autostart.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})
install(FILES kalarm.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kalarmconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kalarmui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kalarm)
install(FILES org.kde.kalarm.kalarm.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR})
install(FILES kalarm.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(PROGRAMS kalarm-version.pl kalarm-1.2.1-general.pl kalarm-1.9.5-defaults.pl kalarm-2.0.2-general.pl kalarm-2.1.5-general.pl DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
########### KAuth helper ###############
add_executable(kalarm_helper rtcwakeaction.cpp kalarm_debug.cpp)
target_link_libraries(kalarm_helper KF5::Auth KF5::KDELibs4Support)
install(TARGETS kalarm_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
install(TARGETS kalarm_helper DESTINATION ${KDE_INSTALL_LIBEXECDIR})
kauth_install_helper_files(kalarm_helper org.kde.kalarmrtcwake root)
kauth_install_actions(org.kde.kalarmrtcwake rtcwakeaction.actions)
ecm_install_icons( ICONS hi128-apps-kalarm.png hi16-apps-kalarm.png hi22-apps-kalarm.png hi32-apps-kalarm.png hi48-apps-kalarm.png hi64-apps-kalarm.png DESTINATION ${ICON_INSTALL_DIR} )
ecm_install_icons( ICONS hi128-apps-kalarm.png hi16-apps-kalarm.png hi22-apps-kalarm.png hi32-apps-kalarm.png hi48-apps-kalarm.png hi64-apps-kalarm.png DESTINATION ${KDE_INSTALL_ICONDIR} )
......@@ -13,4 +13,4 @@ add_executable(kalarmautostart ${kalarmautostart_SRCS})
target_link_libraries(kalarmautostart KF5::I18n KF5::CoreAddons Qt5::Widgets KF5::KDELibs4Support)
install(TARGETS kalarmautostart ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(TARGETS kalarmautostart ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
ecm_install_icons( ICONS
ox16-actions-document-new-from-template.png ox16-actions-new-command-alarm.png ox22-actions-kalarm-disabled.png ox22-actions-kalarm.png ox22-actions-new-command-alarm.png
ox16-actions-new-audio-alarm.png ox22-actions-document-new-from-template.png ox22-actions-kalarm-partdisabled.png ox22-actions-new-audio-alarm.png
DESTINATION ${DATA_INSTALL_DIR}/kalarm/icons )
DESTINATION ${KDE_INSTALL_DATADIR}/kalarm/icons )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment