aboutsummaryrefslogtreecommitdiffstats
path: root/fsck
diff options
context:
space:
mode:
Diffstat (limited to 'fsck')
-rw-r--r--fsck/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/fsck/Makefile.am b/fsck/Makefile.am
index b98a6e0..66a883e 100644
--- a/fsck/Makefile.am
+++ b/fsck/Makefile.am
@@ -24,3 +24,9 @@ sbin_PROGRAMS = exfatfsck
exfatfsck_SOURCES = main.c
exfatfsck_CPPFLAGS = -I$(top_srcdir)/libexfat
exfatfsck_LDADD = ../libexfat/libexfat.a
+
+install-exec-hook:
+ ln -sf $(sbin_PROGRAMS) $(DESTDIR)$(sbindir)/fsck.exfat
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(sbindir)/fsck.exfat