mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 01:18:00 +03:00
tools: Reorganize conditional bits
Instead of having separate handling for programs and man pages, deal with both in the same place.
This commit is contained in:
parent
8eb1cbb8bd
commit
0b431fa0e6
@ -66,34 +66,28 @@ 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-admin
|
bin_PROGRAMS = virsh virt-host-validate virt-admin
|
||||||
libexec_SCRIPTS = libvirt-guests.sh
|
libexec_SCRIPTS = libvirt-guests.sh
|
||||||
|
|
||||||
if WITH_SANLOCK
|
|
||||||
sbin_SCRIPTS = virt-sanlock-cleanup
|
|
||||||
DISTCLEANFILES += virt-sanlock-cleanup
|
|
||||||
endif WITH_SANLOCK
|
|
||||||
|
|
||||||
if WITH_LOGIN_SHELL
|
|
||||||
conf_DATA += virt-login-shell.conf
|
|
||||||
bin_PROGRAMS += virt-login-shell
|
|
||||||
else ! WITH_LOGIN_SHELL
|
|
||||||
EXTRA_DIST += virt-login-shell.conf
|
|
||||||
endif ! WITH_LOGIN_SHELL
|
|
||||||
|
|
||||||
|
|
||||||
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 \
|
||||||
virsh.1 \
|
virsh.1 \
|
||||||
virt-admin.1
|
virt-admin.1
|
||||||
|
|
||||||
|
if WITH_SANLOCK
|
||||||
|
sbin_SCRIPTS = virt-sanlock-cleanup
|
||||||
|
dist_man8_MANS = virt-sanlock-cleanup.8
|
||||||
|
DISTCLEANFILES += virt-sanlock-cleanup
|
||||||
|
endif WITH_SANLOCK
|
||||||
|
|
||||||
if WITH_LOGIN_SHELL
|
if WITH_LOGIN_SHELL
|
||||||
|
conf_DATA += virt-login-shell.conf
|
||||||
|
bin_PROGRAMS += virt-login-shell
|
||||||
dist_man1_MANS += virt-login-shell.1
|
dist_man1_MANS += virt-login-shell.1
|
||||||
else ! WITH_LOGIN_SHELL
|
else ! WITH_LOGIN_SHELL
|
||||||
EXTRA_DIST += virt-login-shell.1
|
EXTRA_DIST += \
|
||||||
|
virt-login-shell.conf \
|
||||||
|
virt-login-shell.1
|
||||||
endif ! WITH_LOGIN_SHELL
|
endif ! WITH_LOGIN_SHELL
|
||||||
if WITH_SANLOCK
|
|
||||||
dist_man8_MANS = virt-sanlock-cleanup.8
|
|
||||||
endif WITH_SANLOCK
|
|
||||||
|
|
||||||
virt-xml-validate: virt-xml-validate.in Makefile
|
virt-xml-validate: virt-xml-validate.in Makefile
|
||||||
$(AM_V_GEN)sed -e 's|[@]schemadir@|$(pkgdatadir)/schemas|g' \
|
$(AM_V_GEN)sed -e 's|[@]schemadir@|$(pkgdatadir)/schemas|g' \
|
||||||
|
Loading…
Reference in New Issue
Block a user