提交 7f65248c 编写于 作者: A Andrea Bolognani

remote: Move polkitdir definition

No need to have two conditional blocks.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
Reviewed-by: NErik Skultety <eskultet@redhat.com>
上级 7cfd1fbb
......@@ -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 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册