From: Eric Blake Date: Sat, 28 Sep 2013 03:21:02 +0000 (-0600) Subject: build: fix build --without-lxc X-Git-Tag: v1.1.3-rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8771b947db58142c9d52d4f2454da7ac535bd5f8;p=thirdparty%2Flibvirt.git 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 --- diff --git a/tools/Makefile.am b/tools/Makefile.am index 0193140502..d8c912f2e4 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -74,7 +74,9 @@ endif WITH_SANLOCK if WITH_LXC conf_DATA += virt-login-shell.conf bin_PROGRAMS += virt-login-shell -endif WITH_LXC +else ! WITH_LXC +EXTRA_DIST += virt-login-shell.conf +endif ! WITH_LXC dist_man1_MANS = \ @@ -84,7 +86,9 @@ dist_man1_MANS = \ virsh.1 if WITH_LXC 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 dist_man8_MANS = virt-sanlock-cleanup.8 endif WITH_SANLOCK