This is consistent with how we treat other directories where we install data files. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- configure.ac | 5 +++++ data/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a52a108..af96b97 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,11 @@ LIBVIRT_ARG_WITH([DBUS_INTERFACES], [where D-Bus interfaces directory is], DBUS_INTERFACES_DIR="$with_dbus_interfaces" AC_SUBST([DBUS_INTERFACES_DIR]) +LIBVIRT_ARG_WITH([POLKIT_RULES], [directory for polkit rules], + ['$(sysconfdir)/polkit-1/rules.d']) +POLKIT_RULES_DIR="$with_polkit_rules" +AC_SUBST(POLKIT_RULES_DIR) + LIBVIRT_ARG_WITH([SYSTEM_USER], [username to run system instance as], ['libvirtdbus']) SYSTEM_USER=$with_system_user diff --git a/data/Makefile.am b/data/Makefile.am index b0e6b31..8c5a8d2 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -15,7 +15,7 @@ system_policy_DATA = $(system_policy_files:.conf.in=.conf) polkit_files = \ system/libvirt-dbus.rules.in -polkitdir = $(sysconfdir)/polkit-1/rules.d +polkitdir = $(POLKIT_RULES_DIR) polkit_DATA = $(polkit_files:.rules.in=.rules) interfaces_files = \ -- 2.17.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list