Commit cb325590 authored by Volker Krause's avatar Volker Krause
Browse files

Use version-less install dir variables

parent 1d9794a3
Pipeline #167351 passed with stage
in 2 minutes and 11 seconds
......@@ -101,7 +101,7 @@ ecm_qt_install_logging_categories(
FILE powerdevil.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
install( FILES powerdevil.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
install( FILES powerdevil.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR} )
# add clang-format target for all our real source files
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
......
install(FILES powerdevilaction.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
install(FILES powerdevilaction.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPESDIR})
add_subdirectory(bundled)
......@@ -12,7 +12,7 @@ function(add_powerdevil_bundled_action _name)
KF5::XmlGui
${ARGN})
install(TARGETS powerdevil${_name}action_config DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES powerdevil${_name}action.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES powerdevil${_name}action.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})
endfunction(add_powerdevil_bundled_action _name)
add_powerdevil_bundled_action(brightnesscontrol KF5::GlobalAccel)
......@@ -42,4 +42,4 @@ target_link_libraries(powerdevilhandlebuttoneventsaction_config
KF5::XmlGui
)
install(TARGETS powerdevilhandlebuttoneventsaction_config DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES powerdevilhandlebuttoneventsaction.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES powerdevilhandlebuttoneventsaction.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})
......@@ -20,4 +20,4 @@ target_link_libraries(kcm_powerdevilactivitiesconfig
)
install(TARGETS kcm_powerdevilactivitiesconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES powerdevilactivitiesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES powerdevilactivitiesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR} )
......@@ -20,4 +20,4 @@ target_link_libraries(kcm_powerdevilglobalconfig
)
install(TARGETS kcm_powerdevilglobalconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES powerdevilglobalconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES powerdevilglobalconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR} )
......@@ -23,4 +23,4 @@ target_link_libraries(kcm_powerdevilprofilesconfig
)
install(TARGETS kcm_powerdevilprofilesconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES powerdevilprofilesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES powerdevilprofilesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR} )
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