mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
build: only create virt-login-shell for lxc builds
I noticed from an ./autobuild.sh run that we were installing a virt-login-shell.exe binary when cross-building for mingw, even though such a binary is necessarily worthless since the code depends on lxc which is a Linux-only concept. * tools/Makefile.am (conf_DATA, bin_PROGRAMS, dist_man1_MANS): Make virt-login-shell installation conditional. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
d962318c4f
commit
b9189c808b
@ -60,10 +60,10 @@ EXTRA_DIST = \
|
|||||||
DISTCLEANFILES =
|
DISTCLEANFILES =
|
||||||
|
|
||||||
confdir = $(sysconfdir)/libvirt
|
confdir = $(sysconfdir)/libvirt
|
||||||
conf_DATA = virt-login-shell.conf
|
conf_DATA =
|
||||||
|
|
||||||
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
||||||
bin_PROGRAMS = virsh virt-host-validate virt-login-shell
|
bin_PROGRAMS = virsh virt-host-validate
|
||||||
libexec_SCRIPTS = libvirt-guests.sh
|
libexec_SCRIPTS = libvirt-guests.sh
|
||||||
|
|
||||||
if WITH_SANLOCK
|
if WITH_SANLOCK
|
||||||
@ -71,12 +71,20 @@ sbin_SCRIPTS = virt-sanlock-cleanup
|
|||||||
DISTCLEANFILES += virt-sanlock-cleanup
|
DISTCLEANFILES += virt-sanlock-cleanup
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if WITH_LXC
|
||||||
|
conf_DATA += virt-login-shell.conf
|
||||||
|
bin_PROGRAMS += virt-login-shell
|
||||||
|
endif WITH_LXC
|
||||||
|
|
||||||
|
|
||||||
dist_man1_MANS = \
|
dist_man1_MANS = \
|
||||||
virt-host-validate.1 \
|
virt-host-validate.1 \
|
||||||
virt-pki-validate.1 \
|
virt-pki-validate.1 \
|
||||||
virt-xml-validate.1 \
|
virt-xml-validate.1 \
|
||||||
virt-login-shell.1 \
|
|
||||||
virsh.1
|
virsh.1
|
||||||
|
if WITH_LXC
|
||||||
|
dist_man1_MANS += virt-login-shell.1
|
||||||
|
endif WITH_LXC
|
||||||
if WITH_SANLOCK
|
if WITH_SANLOCK
|
||||||
dist_man8_MANS = virt-sanlock-cleanup.8
|
dist_man8_MANS = virt-sanlock-cleanup.8
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user