mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-03 07:33:50 +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
|
||||
# the WITH_LIBVIRTD conditional
|
||||
if WITH_SASL
|
||||
sasldir = $(sysconfdir)/sasl2
|
||||
|
||||
install-sasl:
|
||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sasl2/
|
||||
$(MKDIR_P) $(DESTDIR)$(sasldir)
|
||||
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.sasl \
|
||||
$(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
|
||||
$(DESTDIR)$(sasldir)/libvirt.conf
|
||||
|
||||
uninstall-sasl:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
|
||||
rmdir $(DESTDIR)$(sysconfdir)/sasl2/ || :
|
||||
rm -f $(DESTDIR)$(sasldir)/libvirt.conf
|
||||
rmdir $(DESTDIR)$(sasldir) || :
|
||||
else ! WITH_SASL
|
||||
install-sasl:
|
||||
uninstall-sasl:
|
||||
|
Loading…
x
Reference in New Issue
Block a user