aboutsummaryrefslogtreecommitdiffstats
path: root/fuse/Makefile.am
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2015-08-12 07:47:54 +0300
committerrelan <relan@users.noreply.github.com>2015-08-26 11:50:43 +0300
commitd6f9ccd0deaedfabda0c377b7fa09290642a6fd8 (patch)
tree2a091109b1df9c67264d6d2a1ded3f9bc1167190 /fuse/Makefile.am
parentc50537e1485c82e58651985c8b43a4bfa3cc3a3d (diff)
downloadandroid_external_exfat-d6f9ccd0deaedfabda0c377b7fa09290642a6fd8.tar.gz
android_external_exfat-d6f9ccd0deaedfabda0c377b7fa09290642a6fd8.tar.bz2
android_external_exfat-d6f9ccd0deaedfabda0c377b7fa09290642a6fd8.zip
Create symlinks on install.
Install fsck.exfat, mount.exfat and mkfs.exfat convenience aliases.
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