aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-06-28 12:22:57 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-06-28 12:22:57 +0000
commit866826d2f211298ad7a969d78d849234595d2a2e (patch)
treef73cd7bd2d5f09fd5039a0fd6a5a3171f173ac06
parente1bcecec1b042d3ca91391af3840c06e4c8f72ac (diff)
downloadlibfuse-866826d2f211298ad7a969d78d849234595d2a2e.tar.gz
fix
-rw-r--r--ChangeLog2
-rw-r--r--util/Makefile.am7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a6af1b..c1afe5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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