mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
remote: Move polkitdir definition
No need to have two conditional blocks. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
7cfd1fbb13
commit
7f65248ce5
@ -123,10 +123,6 @@ conf_DATA += remote/libvirtd.conf
|
|||||||
|
|
||||||
CLEANFILES += test_libvirtd.aug
|
CLEANFILES += test_libvirtd.aug
|
||||||
|
|
||||||
if WITH_POLKIT
|
|
||||||
policydir = $(datadir)/polkit-1/actions
|
|
||||||
endif WITH_POLKIT
|
|
||||||
|
|
||||||
man8_MANS += libvirtd.8
|
man8_MANS += libvirtd.8
|
||||||
|
|
||||||
libvirtd_SOURCES = $(LIBVIRTD_SOURCES)
|
libvirtd_SOURCES = $(LIBVIRTD_SOURCES)
|
||||||
@ -211,6 +207,8 @@ uninstall-sysctl:
|
|||||||
endif ! WITH_SYSCTL
|
endif ! WITH_SYSCTL
|
||||||
|
|
||||||
if WITH_POLKIT
|
if WITH_POLKIT
|
||||||
|
policydir = $(datadir)/polkit-1/actions
|
||||||
|
|
||||||
install-polkit::
|
install-polkit::
|
||||||
$(MKDIR_P) $(DESTDIR)$(policydir)
|
$(MKDIR_P) $(DESTDIR)$(policydir)
|
||||||
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.policy \
|
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.policy \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user