[PATH 2/2] cifs-utils: Don't create symlinks for mans if mans are disabled
Mikhail Novosyolov
m.novosyolov at rosalinux.ru
Fri Jan 24 22:12:31 UTC 2020
---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 09ef293..39ef1c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,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)
More information about the samba-technical
mailing list