build: fix build --without-lxc

'make distcheck' fails from a directory configured --without-lxc:

  GEN      virt-login-shell.1
Can't write-open ../../tools/virt-login-shell.1: Permission denied at /usr/bin/pod2man line 69.

* tools/Makefile.am (EXTRA_DIST): Ship pre-built man page.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake 2013-09-27 21:21:02 -06:00
parent 51f98bbab8
commit 8771b947db

View File

@ -74,7 +74,9 @@ endif WITH_SANLOCK
if WITH_LXC if WITH_LXC
conf_DATA += virt-login-shell.conf conf_DATA += virt-login-shell.conf
bin_PROGRAMS += virt-login-shell bin_PROGRAMS += virt-login-shell
endif WITH_LXC else ! WITH_LXC
EXTRA_DIST += virt-login-shell.conf
endif ! WITH_LXC
dist_man1_MANS = \ dist_man1_MANS = \
@ -84,7 +86,9 @@ dist_man1_MANS = \
virsh.1 virsh.1
if WITH_LXC if WITH_LXC
dist_man1_MANS += virt-login-shell.1 dist_man1_MANS += virt-login-shell.1
endif WITH_LXC else ! WITH_LXC
EXTRA_DIST += 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 WITH_SANLOCK endif WITH_SANLOCK