Don't hardcode dbus policy install dir

Authored by arojas on May 12 2019, 5:39 PM.



On Arch we install dbus policy files under /usr/share (since /etc should be reserved for sysadmin overrides). Install the policy files to the cmake provided locations instead of hardcoding the path to /etc/dbus-1

Test Plan

dbus policy files are installed to the right path provided by cmake, and the path can be overriden with -DKDE_INSTALL_DBUSDIR=foo

Diff Detail

R16 KPMCore
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
arojas requested review of this revision.May 12 2019, 5:39 PM
arojas created this revision.
arojas updated this revision to Diff 57940.May 12 2019, 5:47 PM

Use non-deprecated variable

arojas edited the test plan for this revision. (Show Details)May 12 2019, 5:47 PM
stikonas accepted this revision.May 12 2019, 5:56 PM
This revision is now accepted and ready to land.May 12 2019, 5:56 PM

Maybe push to 4.0 branch?

This revision was automatically updated to reflect the committed changes.