[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 1/7] remote: Move polkitdir definition



No need to have two conditional blocks.

Signed-off-by: Andrea Bolognani <abologna redhat com>
---
 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 \
-- 
2.20.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]