[Libguestfs] [PATCH 1/2] Fix out-of-tree build for appliance

Richard W.M. Jones rjones at redhat.com
Tue Mar 27 20:54:00 UTC 2012


On Tue, Mar 27, 2012 at 10:03:03PM +0200, Hilko Bengen wrote:
> ---
>  appliance/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/appliance/Makefile.am b/appliance/Makefile.am
> index ac37017..c90078e 100644
> --- a/appliance/Makefile.am
> +++ b/appliance/Makefile.am
> @@ -73,7 +73,7 @@ supermin.d/daemon.img: ../daemon/guestfsd guestfsd.suppressions
>  	rm -rf tmp
>  	mkdir -p tmp$(DAEMON_SUPERMIN_DIR) tmp/etc
>  	ln ../daemon/guestfsd tmp$(DAEMON_SUPERMIN_DIR)/guestfsd
> -	ln guestfsd.suppressions tmp/etc/guestfsd.suppressions
> +	ln @srcdir@/guestfsd.suppressions tmp/etc/guestfsd.suppressions
>  	( cd tmp && find | cpio --quiet -o -H newc ) > $@-t
>  	rm -rf tmp
>  	mv $@-t $@

ACK, although [I'm told] it's better to use $(srcdir) instead of @srcdir at .

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list