From 7f65248ce56745e832075d2a6e86294c15a96d4c Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 9 Jan 2019 18:08:57 +0100 Subject: [PATCH] remote: Move polkitdir definition No need to have two conditional blocks. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- src/remote/Makefile.inc.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/remote/Makefile.inc.am b/src/remote/Makefile.inc.am index d188c4e348..04a2ec8cc0 100644 --- a/src/remote/Makefile.inc.am +++ b/src/remote/Makefile.inc.am @@ -123,10 +123,6 @@ conf_DATA += remote/libvirtd.conf CLEANFILES += test_libvirtd.aug -if WITH_POLKIT -policydir = $(datadir)/polkit-1/actions -endif WITH_POLKIT - man8_MANS += libvirtd.8 libvirtd_SOURCES = $(LIBVIRTD_SOURCES) @@ -211,6 +207,8 @@ uninstall-sysctl: endif ! WITH_SYSCTL if WITH_POLKIT +policydir = $(datadir)/polkit-1/actions + install-polkit:: $(MKDIR_P) $(DESTDIR)$(policydir) $(INSTALL_DATA) $(srcdir)/remote/libvirtd.policy \ -- GitLab