$NetBSD: patch-man_Makefile,v 1.3 2015/12/29 23:34:53 dholland Exp $ Use BSD_INSTALL_* instead of mkdir and cp --- man/Makefile.orig 2014-04-12 10:17:02.000000000 +0000 +++ man/Makefile @@ -15,7 +15,7 @@ include ../config/Makefile INSTALL_DIR=$(DESTDIR)$(MANDIR)/man$(MANEXT) install: - for i in *.m; do cp $$i $(INSTALL_DIR)/`basename $$i .m`.$(MANEXT); done + for i in *.m; do $(BSD_INSTALL_MAN) $$i $(INSTALL_DIR)/`basename $$i .m`.$(MANEXT); done echo '.so man$(MANEXT)/ocamlc.$(MANEXT)' \ > $(INSTALL_DIR)/ocamlc.opt.$(MANEXT) echo '.so man$(MANEXT)/ocamlopt.$(MANEXT)' \