From 78ad037c662802ce8fb5bf297407f1ce8682be94 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Tue, 23 Jun 2015 06:26:52 +0200 Subject: [PATCH] Make installing mkntfs /sbin symlinks dependent on ENABLE_MOUNT_HELPER. We shouldn't install anything into /sbin unless ENABLE_MOUNT_HELPER is on, which is only true for Linux (these are Linux-specific symlinks). --- ntfsprogs/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntfsprogs/Makefile.am b/ntfsprogs/Makefile.am index cbc7ce50..6b2b8aa5 100644 --- a/ntfsprogs/Makefile.am +++ b/ntfsprogs/Makefile.am @@ -149,6 +149,7 @@ extras: libs $(EXTRA_PROGRAMS) # mkfs.ntfs[.8] hard link +if ENABLE_MOUNT_HELPER install-exec-hook: $(INSTALL) -d $(DESTDIR)/sbin $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/sbin/mkfs.ntfs @@ -160,5 +161,6 @@ install-data-hook: uninstall-local: $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ntfs.8 +endif endif