aboutsummaryrefslogtreecommitdiffstats
path: root/fuse/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fuse/Makefile.am')
-rw-r--r--fuse/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index 4d1debf..62ecaf1 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -25,3 +25,9 @@ mount_exfat_fuse_SOURCES = main.c
mount_exfat_fuse_CPPFLAGS = -I$(top_srcdir)/libexfat
mount_exfat_fuse_CFLAGS = $(FUSE_CFLAGS)
mount_exfat_fuse_LDADD = ../libexfat/libexfat.a $(FUSE_LIBS)
+
+install-exec-hook:
+ ln -sf $(sbin_PROGRAMS) $(DESTDIR)$(sbindir)/mount.exfat
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(sbindir)/mount.exfat