out-of-tree build: fix appliance
authorHilko Bengen <bengen@hilluzination.de>
Sun, 14 Aug 2011 08:58:11 +0000 (10:58 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 15 Aug 2011 13:50:33 +0000 (14:50 +0100)
appliance/Makefile.am

index 503160e..bec2b48 100644 (file)
@@ -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