From c608a7fa1c7385aa862e92a02bc122725231aed4 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sat, 25 Jan 2020 01:12:31 +0300 Subject: [PATCH] cifs-utils: Don't create symlinks for mans if mans are disabled --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.34.1