Commit 5a23a461 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use non-deprecated KDEInstallDirs variables

parent a5584b97
......@@ -32,7 +32,7 @@ target_link_libraries( systemsettings5 systemsettingsview
KF5::ConfigGui
)
install( TARGETS systemsettings5 ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES systemsettings.kcfg DESTINATION ${DATA_INSTALL_DIR}/systemsettings )
install( FILES systemsettingsui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/systemsettings )
install( PROGRAMS kdesystemsettings.desktop systemsettings.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( TARGETS systemsettings5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES systemsettings.kcfg DESTINATION ${KDE_INSTALL_DATADIR}/systemsettings )
install( FILES systemsettingsui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/systemsettings )
install( PROGRAMS kdesystemsettings.desktop systemsettings.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES systemsettingscategory.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES systemsettingscategory.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR} )
install( FILES
settings-appearance.desktop
......@@ -35,11 +35,11 @@ install( FILES
settings-hardware-powermanagement.desktop
settings-hardware-removable-storage.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
if (NOT WIN32)
install( FILES
settings-network-bluetooth.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
endif ()
......@@ -19,7 +19,7 @@ target_link_libraries(classic_mode systemsettingsview
KF5::KHtml
)
install( TARGETS classic_mode DESTINATION ${PLUGIN_INSTALL_DIR} )
install( FILES settings-classic-view.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES main.html systemsettings-classic.css DESTINATION ${DATA_INSTALL_DIR}/systemsettings/classic/ )
install( TARGETS classic_mode DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES settings-classic-view.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES main.html systemsettings-classic.css DESTINATION ${KDE_INSTALL_DATADIR}/systemsettings/classic/ )
......@@ -35,6 +35,6 @@ target_link_libraries( systemsettingsview
set_target_properties( systemsettingsview PROPERTIES SOVERSION 3 )
install( TARGETS systemsettingsview ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES ${systemsettingsview_LIB_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/systemsettingsview COMPONENT Devel )
install( FILES systemsettingsview.desktop systemsettingsexternalapp.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( TARGETS systemsettingsview ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES ${systemsettingsview_LIB_HDRS} DESTINATION ${KDE_INSTALL_INCLUDEDIR}/systemsettingsview COMPONENT Devel )
install( FILES systemsettingsview.desktop systemsettingsexternalapp.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR} )
##### Install Systems Settings Documentation #####
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR systemsettings)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR systemsettings)
##### Install System Settings Modules Documentation #####
......@@ -14,6 +14,6 @@ target_link_libraries(icon_mode systemsettingsview
KF5::Service
)
install( TARGETS icon_mode DESTINATION ${PLUGIN_INSTALL_DIR} )
install( FILES settings-icon-view.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( TARGETS icon_mode DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES settings-icon-view.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
......@@ -23,7 +23,7 @@ target_link_libraries(systemsettings_sidebar_mode systemsettingsview
Qt5::QuickWidgets
)
install( TARGETS systemsettings_sidebar_mode DESTINATION ${PLUGIN_INSTALL_DIR} )
install( FILES settings-sidebar-view.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( TARGETS systemsettings_sidebar_mode DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES settings-sidebar-view.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install(DIRECTORY package/ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/kpackage/genericqml/org.kde.systemsettings.sidebar)
Supports Markdown
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