diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
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 |