Files
pkgsrc-ng/lang/ocaml/patches/patch-man_Makefile
T
2013-09-26 17:14:40 +02:00

15 lines
642 B
Plaintext

$NetBSD: patch-man_Makefile,v 1.1 2012/10/08 15:05:33 jaapb Exp $
Use BSD_INSTALL_* instead of mkdir and cp
--- man/Makefile.orig 2012-03-16 15:53:07.000000000 +0000
+++ man/Makefile
@@ -17,7 +17,7 @@ include ../config/Makefile
DIR=$(MANDIR)/man$(MANEXT)
install:
- for i in *.m; do cp $$i $(DIR)/`basename $$i .m`.$(MANEXT); done
+ for i in *.m; do $(BSD_INSTALL_MAN) $$i $(DIR)/`basename $$i .m`.$(MANEXT); done
echo '.so man$(MANEXT)/ocamlc.$(MANEXT)' > $(DIR)/ocamlc.opt.$(MANEXT)
echo '.so man$(MANEXT)/ocamlopt.$(MANEXT)' > $(DIR)/ocamlopt.opt.$(MANEXT)
echo '.so man$(MANEXT)/ocamlcp.$(MANEXT)' > $(DIR)/ocamloptp.$(MANEXT)