mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
remote: Define sasldir
Avoid building the same path several times. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
72e5285aa3
commit
7fb5e319d9
@ -248,14 +248,16 @@ endif ! WITH_LIBVIRTD
|
|||||||
# This is needed for clients too, so can't wrap in
|
# This is needed for clients too, so can't wrap in
|
||||||
# the WITH_LIBVIRTD conditional
|
# the WITH_LIBVIRTD conditional
|
||||||
if WITH_SASL
|
if WITH_SASL
|
||||||
|
sasldir = $(sysconfdir)/sasl2
|
||||||
|
|
||||||
install-sasl:
|
install-sasl:
|
||||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sasl2/
|
$(MKDIR_P) $(DESTDIR)$(sasldir)
|
||||||
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.sasl \
|
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.sasl \
|
||||||
$(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
|
$(DESTDIR)$(sasldir)/libvirt.conf
|
||||||
|
|
||||||
uninstall-sasl:
|
uninstall-sasl:
|
||||||
rm -f $(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
|
rm -f $(DESTDIR)$(sasldir)/libvirt.conf
|
||||||
rmdir $(DESTDIR)$(sysconfdir)/sasl2/ || :
|
rmdir $(DESTDIR)$(sasldir) || :
|
||||||
else ! WITH_SASL
|
else ! WITH_SASL
|
||||||
install-sasl:
|
install-sasl:
|
||||||
uninstall-sasl:
|
uninstall-sasl:
|
||||||
|
Loading…
Reference in New Issue
Block a user