1 From b5314c20d8e3caf62fe0dc96ad937a2950158b23 Mon Sep 17 00:00:00 2001
2 From: Louis Gesbert <louis.gesbert@ocamlpro.com>
3 Date: Thu, 2 Mar 2017 12:19:56 +0100
4 Subject: [PATCH] Install mli, cmx, etc.
7 Makefile | 26 +++++++++++++-------------
8 1 file changed, 13 insertions(+), 13 deletions(-)
10 diff --git a/Makefile b/Makefile
11 index 09464ff..5044d7f 100644
14 @@ -56,7 +56,7 @@ $(DOSELIBS)/cudf.%:
15 @for i in _build/cudf/cudf.*; do \
17 cp $$i $(DOSELIBS) ; \
18 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
19 + rm -f $(DOSELIBS)/*.mlpack ; \
23 @@ -67,7 +67,7 @@ $(DOSELIBS)/common.%: common/*.ml common/*.mli
25 cp $$i $(DOSELIBS) ; \
27 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
28 + rm -f $(DOSELIBS)/*.mlpack ; \
32 @@ -78,7 +78,7 @@ $(DOSELIBS)/versioning.%: versioning/*.ml versioning/*.mli
34 cp $$i $(DOSELIBS) ; \
36 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
37 + rm -f $(DOSELIBS)/*.mlpack ; \
41 @@ -88,7 +88,7 @@ $(DOSELIBS)/algo.%: algo/*.ml algo/*.mli $(DOSELIBS)/common.%
43 cp $$i $(DOSELIBS) ; \
45 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
46 + rm -f $(DOSELIBS)/*.mlpack ; \
50 @@ -98,7 +98,7 @@ $(DOSELIBS)/debian.%: deb/*.ml deb/*.mli $(DOSELIBS)/pef.%
52 cp $$i $(DOSELIBS) ; \
54 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
55 + rm -f $(DOSELIBS)/*.mlpack ; \
59 @@ -108,7 +108,7 @@ $(DOSELIBS)/opam.%: opam/*.ml opam/*.mli $(DOSELIBS)/pef.%
61 cp $$i $(DOSELIBS) ; \
63 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
64 + rm -f $(DOSELIBS)/*.mlpack ; \
68 @@ -118,7 +118,7 @@ $(DOSELIBS)/npm.%: npm/*.ml npm/*.mli $(DOSELIBS)/versioning.% $(DOSELIBS)/pef.%
70 cp $$i $(DOSELIBS) ; \
72 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
73 + rm -f $(DOSELIBS)/*.mlpack ; \
77 @@ -128,7 +128,7 @@ $(DOSELIBS)/rpm.%: rpm/*.ml $(DOSELIBS)/algo.%
79 cp $$i $(DOSELIBS) ; \
81 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
82 + rm -f $(DOSELIBS)/*.mlpack ; \
86 @@ -138,7 +138,7 @@ $(DOSELIBS)/pef.%: pef/*.ml pef/*.mli
88 cp $$i $(DOSELIBS) ; \
90 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
91 + rm -f $(DOSELIBS)/*.mlpack ; \
95 @@ -148,7 +148,7 @@ $(DOSELIBS)/csw.%: opencsw/*.ml $(DOSELIBS)/versioning.%
97 cp $$i $(DOSELIBS) ; \
99 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ; \
100 + rm -f $(DOSELIBS)/*.mlpack ; \
104 @@ -158,7 +158,7 @@ $(DOSELIBS)/doseparse.%: $(DOSELIBS)/pef.% $(DOSELIBS)/debian.%
105 if [ -e $$i ]; then \
106 cp $$i $(DOSELIBS) ; \
108 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx $(DOSELIBS)/*.ml ; \
109 + rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.ml ; \
113 @@ -168,7 +168,7 @@ $(DOSELIBS)/doseparseNoRpm.%: $(DOSELIBS)/pef.% $(DOSELIBS)/debian.%
114 if [ -e $$i ]; then \
115 cp $$i $(DOSELIBS) ;\
117 - rm -f $(DOSELIBS)/*.mlpack $(DOSELIBS)/*.cmx ;\
118 + rm -f $(DOSELIBS)/*.mlpack ;\
122 @@ -223,7 +223,7 @@ INSTALL_STUFF_ = META
123 INSTALL_STUFF_ += $(wildcard _build/doselibs/*.cma _build/doselibs/*.cmi)
124 INSTALL_STUFF_ += $(wildcard _build/doselibs/*.cmxa _build/doselibs/*.cmxs)
125 INSTALL_STUFF_ += $(wildcard _build/doselibs/*.a)
126 -#INSTALL_STUFF_ += $(wildcard _build/*/*.mli)
127 +INSTALL_STUFF_ += $(wildcard _build/doselibs/*.mli) $(wildcard _build/doselibs/*.cmti) $(wildcard _build/doselibs/*.cmx)
128 INSTALL_STUFF_ += $(wildcard _build/rpm/*.so)
130 exclude_cudf = $(wildcard _build/doselibs/*cudf* _build/cudf/*)