mirror of
https://github.com/relan/exfat.git
synced 2026-01-12 00:18:54 +08:00
Create symlinks on install.
Install fsck.exfat, mount.exfat and mkfs.exfat convenience aliases.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -39,3 +39,9 @@ mkexfatfs_SOURCES = \
|
||||
vbr.h
|
||||
mkexfatfs_CPPFLAGS = -I$(top_srcdir)/libexfat
|
||||
mkexfatfs_LDADD = ../libexfat/libexfat.a
|
||||
|
||||
install-exec-hook:
|
||||
ln -sf $(sbin_PROGRAMS) $(DESTDIR)$(sbindir)/mkfs.exfat
|
||||
|
||||
uninstall-hook:
|
||||
rm -f $(DESTDIR)$(sbindir)/mkfs.exfat
|
||||
|
||||
Reference in New Issue
Block a user