26 lines
910 B
Plaintext
26 lines
910 B
Plaintext
$NetBSD: patch-stdlib_Makefile.shared,v 1.4 2015/08/07 11:16:30 jaapb Exp $
|
|
|
|
Use BSD_INSTALL_* instead of mkdir and cp
|
|
--- stdlib/Makefile.shared.orig 2015-07-20 14:10:11.000000000 +0000
|
|
+++ stdlib/Makefile.shared
|
|
@@ -45,16 +45,16 @@ all: stdlib.cma std_exit.cmo camlheader
|
|
INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR)
|
|
|
|
install: install-$(RUNTIMED)
|
|
- cp stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \
|
|
+ $(BSD_INSTALL_DATA) stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \
|
|
camlheader_ur \
|
|
$(INSTALL_LIBDIR)
|
|
- cp target_camlheader $(INSTALL_LIBDIR)/camlheader
|
|
+ $(BSD_INSTALL_DATA) target_camlheader $(INSTALL_LIBDIR)/camlheader
|
|
|
|
install-noruntimed:
|
|
.PHONY: install-noruntimed
|
|
|
|
install-runtimed: target_camlheaderd
|
|
- cp target_camlheaderd $(INSTALL_LIBDIR)/camlheaderd
|
|
+ $(BSD_INSTALL_DATA) target_camlheaderd $(INSTALL_LIBDIR)/camlheaderd
|
|
.PHONY: install-runtimed
|
|
|
|
stdlib.cma: $(OBJS)
|