mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
build: install D-Bus service files to /usr by default
Service files shipped by distribution should be in /usr.
This commit is contained in:
parent
d65b67e381
commit
299a6af3ee
2 changed files with 2 additions and 2 deletions
|
|
@ -727,7 +727,7 @@ AC_ARG_WITH(dbus-sys-dir,
|
|||
if test -n "$with_dbus_sys_dir" ; then
|
||||
DBUS_SYS_DIR="$with_dbus_sys_dir"
|
||||
else
|
||||
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
|
||||
DBUS_SYS_DIR="${datadir}/dbus-1/system.d"
|
||||
fi
|
||||
AC_SUBST(DBUS_SYS_DIR)
|
||||
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ endif
|
|||
dbus_conf_dir = get_option('dbus_conf_dir')
|
||||
if dbus_conf_dir == ''
|
||||
assert(dbus_dep.found(), 'D-Bus required but not found, please provide a valid system bus config dir')
|
||||
dbus_conf_dir = join_paths(dbus_dep.get_pkgconfig_variable('sysconfdir', define_variable: ['sysconfdir', nm_sysconfdir]), 'dbus-1', 'system.d')
|
||||
dbus_conf_dir = join_paths(dbus_dep.get_pkgconfig_variable('datadir'), 'dbus-1', 'system.d')
|
||||
endif
|
||||
|
||||
dbus_interfaces_dir = dbus_dep.get_pkgconfig_variable('interfaces_dir', define_variable: ['datadir', nm_datadir])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue