mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
meson: src/remote: install libvirtd sasl file
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
329a1cac0b
commit
5adcf83a36
@ -49,7 +49,6 @@ include nwfilter/Makefile.inc.am
|
||||
include node_device/Makefile.inc.am
|
||||
include secret/Makefile.inc.am
|
||||
include storage/Makefile.inc.am
|
||||
include remote/Makefile.inc.am
|
||||
|
||||
|
||||
BUILT_SOURCES += $(nodist_conf_DATA)
|
||||
|
@ -1,19 +0,0 @@
|
||||
# vim: filetype=automake
|
||||
|
||||
# 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)$(sasldir)
|
||||
$(INSTALL_DATA) $(srcdir)/remote/libvirtd.sasl \
|
||||
$(DESTDIR)$(sasldir)/libvirt.conf
|
||||
|
||||
uninstall-sasl:
|
||||
rm -f $(DESTDIR)$(sasldir)/libvirt.conf
|
||||
rmdir $(DESTDIR)$(sasldir) || :
|
||||
|
||||
INSTALL_DATA_LOCAL += install-sasl
|
||||
UNINSTALL_LOCAL += uninstall-sasl
|
||||
endif WITH_SASL
|
@ -269,4 +269,14 @@ else
|
||||
sym_files += 'libvirt_remote.syms'
|
||||
endif
|
||||
|
||||
# This is needed for clients too, so can't wrap in
|
||||
# the WITH_LIBVIRTD conditional
|
||||
if conf.has('WITH_SASL')
|
||||
install_data(
|
||||
'libvirtd.sasl',
|
||||
install_dir: sysconfdir / 'sasl2',
|
||||
rename: [ 'libvirt.conf' ],
|
||||
)
|
||||
endif
|
||||
|
||||
remote_inc_dir = include_directories('.')
|
||||
|
Loading…
Reference in New Issue
Block a user