From: Olivier Blin Date: Mon, 2 Jul 2012 16:50:55 +0000 (+0200) Subject: Fix install from out-of-tree build X-Git-Tag: fuse_2_9_1~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd4a816823133dd66de60b3a017e1f0442486d1f;p=qemu-gpiodev%2Flibfuse.git Fix install from out-of-tree build When building out-of-tree, install fails since it tries to copy mount.fuse binary from source directory. Patch initially from Damien Thébault (SoftAtHome) --- diff --git a/ChangeLog b/ChangeLog index d465b3c..e58bec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-07-04 Miklos Szeredi + + * Fix install of mount.fuse from out-of-tree build. Patch by + Olivier Blin + 2012-04-24 Miklos Szeredi * Add fallocate operation. Patch by Anatol Pomozov diff --git a/util/Makefile.am b/util/Makefile.am index 927b98c..b036164 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -36,7 +36,7 @@ INIT_D_PATH = @INIT_D_PATH@ install-exec-local: $(mkdir_p) $(DESTDIR)$(MOUNT_FUSE_PATH) - $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse + $(INSTALL_PROGRAM) $(builddir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse $(mkdir_p) $(DESTDIR)$(INIT_D_PATH) $(INSTALL_SCRIPT) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse @if test -x /usr/sbin/update-rc.d; then \