summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Novosyolov <m.novosyolov@rosalinux.ru>2020-01-25 01:12:31 +0300
committerPavel Shilovsky <pshilov@microsoft.com>2020-09-03 10:35:18 -0700
commitc608a7fa1c7385aa862e92a02bc122725231aed4 (patch)
tree479efe265a2823c72b9126cf6142ced2c4c26aa9
parenta00e84378d9c5e63272ff69ca18fd0e872b384d3 (diff)
downloadcifs-utils-c608a7fa1c7385aa862e92a02bc122725231aed4.tar.gz
cifs-utils-c608a7fa1c7385aa862e92a02bc122725231aed4.tar.bz2
cifs-utils-c608a7fa1c7385aa862e92a02bc122725231aed4.zip
cifs-utils: Don't create symlinks for mans if mans are disabled
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a2bb611..a95782d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -121,7 +121,9 @@ install-exec-hook:
(cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
install-data-hook:
- (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+if CONFIG_MAN
+ ( cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+endif
uninstall-hook:
(cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)