| 1 | From https://github.com/tuxera/ntfs-3g/pull/39
|
| 2 |
|
| 3 | diff --git a/ntfsprogs/Makefile.am b/ntfsprogs/Makefile.am
|
| 4 | index 08228322..a390d8c7 100644
|
| 5 | |
| 6 | |
| 7 | @@ -165,7 +165,7 @@ extras: libs $(EXTRA_PROGRAMS)
|
| 8 |
|
| 9 | if ENABLE_MOUNT_HELPER
|
| 10 | install-exec-hook:
|
| 11 | - $(INSTALL) -d $(DESTDIR)/$(sbindir)
|
| 12 | + $(INSTALL) -d $(DESTDIR)$(sbindir)
|
| 13 | $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)$(sbindir)/mkfs.ntfs
|
| 14 |
|
| 15 | install-data-hook:
|
| 16 | @@ -173,7 +173,7 @@ install-data-hook:
|
| 17 | $(LN_S) -f mkntfs.8 $(DESTDIR)$(man8dir)/mkfs.ntfs.8
|
| 18 |
|
| 19 | uninstall-local:
|
| 20 | - $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs
|
| 21 | + $(RM) -f $(DESTDIR)$(sbindir)/mkfs.ntfs
|
| 22 | $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ntfs.8
|
| 23 | endif
|
| 24 |
|
| 25 | diff --git a/src/Makefile.am b/src/Makefile.am
|
| 26 | index 8d984083..ea407067 100644
|
| 27 | |
| 28 | |
| 29 | @@ -66,9 +66,9 @@ endif
|
| 30 |
|
| 31 | if ENABLE_MOUNT_HELPER
|
| 32 | install-exec-local: install-rootbinPROGRAMS
|
| 33 | - $(MKDIR_P) "$(DESTDIR)/sbin"
|
| 34 | - $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
|
| 35 | - $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
|
| 36 | + $(MKDIR_P) "$(DESTDIR)$(rootsbindir)"
|
| 37 | + $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.ntfs-3g"
|
| 38 | + $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.lowntfs-3g"
|
| 39 |
|
| 40 | install-data-local: install-man8
|
| 41 | $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
|
| 42 | @@ -76,7 +76,7 @@ install-data-local: install-man8
|
| 43 |
|
| 44 | uninstall-local:
|
| 45 | $(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
|
| 46 | - $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
|
| 47 | + $(RM) -f "$(DESTDIR)$(rootsbindir)/mount.ntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.lowntfs-3g"
|
| 48 | endif
|
| 49 |
|
| 50 | endif # ENABLE_NTFS_3G
|