From: Hilko Bengen <bengen@hilluzination.de>
Date: Sun, 14 Aug 2011 08:58:11 +0000 (+0200)
Subject: out-of-tree build: fix appliance
X-Git-Tag: 1.13.5~9
X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=36e0f35a5828458ebeaf72999b3461ab66a230d8;p=libguestfs.git

out-of-tree build: fix appliance
---

diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 503160e..bec2b48 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -69,6 +69,7 @@ supermin.d/daemon.img: ../daemon/guestfsd
 	mv $@-t $@
 
 supermin.d/init.img: init
+	cmp -s $(srcdir)/init $(builddir)/init || cp $(srcdir)/init $(builddir)/init
 	mkdir -p supermin.d
 	rm -f $@ $@-t
 	echo "init" | cpio --quiet -o -H newc > $@-t