summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b3e9d9a..fe9cd34 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -120,4 +120,10 @@ SUBDIRS = contrib
install-exec-hook:
(cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+
+install-data-hook:
(cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+
+uninstall-hook:
+ (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
+ (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)