diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-06-28 12:22:57 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-06-28 12:22:57 +0000 |
commit | 866826d2f211298ad7a969d78d849234595d2a2e (patch) | |
tree | f73cd7bd2d5f09fd5039a0fd6a5a3171f173ac06 | |
parent | e1bcecec1b042d3ca91391af3840c06e4c8f72ac (diff) | |
download | libfuse-866826d2f211298ad7a969d78d849234595d2a2e.tar.gz |
fix
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | util/Makefile.am | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -2,6 +2,8 @@ * Add 'mount.fuse' written by Petr Klima + * '/dev/fuse' is created by 'make install' if does not yet exist + 2005-06-20 Miklos Szeredi <miklos@szeredi.hu> * Fix UCLIBC compile error. Patch by Christian Magnusson diff --git a/util/Makefile.am b/util/Makefile.am index 4b6f7d1..2ac6805 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -7,8 +7,13 @@ fusermount_SOURCES = fusermount.c install-exec-hook: -chown root $(DESTDIR)$(bindir)/fusermount -chmod u+s $(DESTDIR)$(bindir)/fusermount + @if test ! -e $(DESTDIR)/dev/fuse; then \ + $(mkdir_p) $(DESTDIR)/dev; \ + echo "mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229"; \ + mknod $(DESTDIR)/dev/fuse -m 0666 c 10 229; \ + fi -EXTRA_DIST: mount.fuse +EXTRA_DIST = mount.fuse install-exec-local: $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)/sbin/mount.fuse |