2016-02-01 07:59:13 +00:00
|
|
|
--- a/src/findlib/Makefile
|
|
|
|
+++ b/src/findlib/Makefile
|
|
|
|
@@ -114,7 +114,7 @@ clean:
|
2012-11-15 22:19:32 +00:00
|
|
|
install: all
|
|
|
|
mkdir -p "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
|
|
|
mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
|
|
|
|
- test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)"
|
|
|
|
+ test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_SITELIB)"
|
2016-02-01 07:59:13 +00:00
|
|
|
files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib.cmxa findlib.a findlib.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
|
2012-11-15 22:19:32 +00:00
|
|
|
cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
|
|
|
f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
|
2016-02-01 07:59:13 +00:00
|
|
|
|