@@ -85,56 +85,55 @@ If prefix is passed, the default for libdir is `$prefix/lib`:
8585 Creating directory install/ man/ man3
8686 Copying _build/ install/ default / man/ man3/ another-man-page. 3 to install/ man/ man3/ another-man-page. 3 (executable: false)
8787
88- If prefix is not passed, libdir defaults to the output of `ocamlfind printconf
89- destdir`:
88+ If prefix is not passed, libdir defaults to the opam-prefix/ lib directory:
9089
9190 $ (export OCAMLFIND_DESTDIR= /OCAMLFIND_DESTDIR
9291 > dune install --dry-run 2>&1 | dune_cmd sanitize
9392 > dune uninstall --dry-run 2>&1 | dune_cmd sanitize)
94- Removing (if it exists) /OCAMLFIND_DESTDIR / foo/ META
95- Installing / OCAMLFIND_DESTDIR / foo/ META
96- Creating directory / OCAMLFIND_DESTDIR / foo
97- Copying _build/ install/ default / lib / foo/ META to / OCAMLFIND_DESTDIR / foo/ META (executable: false)
98- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ dune-package
99- Installing / OCAMLFIND_DESTDIR / foo/ dune-package
100- Creating directory / OCAMLFIND_DESTDIR / foo
101- Copying _build/ install/ default / lib / foo/ dune-package to / OCAMLFIND_DESTDIR / foo/ dune-package (executable: false)
102- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo$ext_lib
103- Installing / OCAMLFIND_DESTDIR / foo/ foo$ext_lib
104- Creating directory / OCAMLFIND_DESTDIR / foo
105- Copying _build/ install/ default / lib / foo/ foo$ext_lib to / OCAMLFIND_DESTDIR / foo/ foo$ext_lib (executable: false)
106- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cma
107- Installing / OCAMLFIND_DESTDIR / foo/ foo. cma
108- Creating directory / OCAMLFIND_DESTDIR / foo
109- Copying _build/ install/ default / lib / foo/ foo. cma to / OCAMLFIND_DESTDIR / foo/ foo. cma (executable: false)
110- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmi
111- Installing / OCAMLFIND_DESTDIR / foo/ foo. cmi
112- Creating directory / OCAMLFIND_DESTDIR / foo
113- Copying _build/ install/ default / lib / foo/ foo. cmi to / OCAMLFIND_DESTDIR / foo/ foo. cmi (executable: false)
114- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmt
115- Installing / OCAMLFIND_DESTDIR / foo/ foo. cmt
116- Creating directory / OCAMLFIND_DESTDIR / foo
117- Copying _build/ install/ default / lib / foo/ foo. cmt to / OCAMLFIND_DESTDIR / foo/ foo. cmt (executable: false)
118- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmx
119- Installing / OCAMLFIND_DESTDIR / foo/ foo. cmx
120- Creating directory / OCAMLFIND_DESTDIR / foo
121- Copying _build/ install/ default / lib / foo/ foo. cmx to / OCAMLFIND_DESTDIR / foo/ foo. cmx (executable: false)
122- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmxa
123- Installing / OCAMLFIND_DESTDIR / foo/ foo. cmxa
124- Creating directory / OCAMLFIND_DESTDIR / foo
125- Copying _build/ install/ default / lib / foo/ foo. cmxa to / OCAMLFIND_DESTDIR / foo/ foo. cmxa (executable: false)
126- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. ml
127- Installing / OCAMLFIND_DESTDIR / foo/ foo. ml
128- Creating directory / OCAMLFIND_DESTDIR / foo
129- Copying _build/ install/ default / lib / foo/ foo. ml to / OCAMLFIND_DESTDIR / foo/ foo. ml (executable: false)
130- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ opam
131- Installing / OCAMLFIND_DESTDIR / foo/ opam
132- Creating directory / OCAMLFIND_DESTDIR / foo
133- Copying _build/ install/ default / lib / foo/ opam to / OCAMLFIND_DESTDIR / foo/ opam (executable: false)
134- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmxs
135- Installing / OCAMLFIND_DESTDIR / foo/ foo. cmxs
136- Creating directory / OCAMLFIND_DESTDIR / foo
137- Copying _build/ install/ default / lib / foo/ foo. cmxs to / OCAMLFIND_DESTDIR / foo/ foo. cmxs (executable: true)
93+ Removing (if it exists) /OPAM_PREFIX / lib / foo/ META
94+ Installing / OPAM_PREFIX / lib / foo/ META
95+ Creating directory / OPAM_PREFIX / lib / foo
96+ Copying _build/ install/ default / lib / foo/ META to / OPAM_PREFIX / lib / foo/ META (executable: false)
97+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ dune-package
98+ Installing / OPAM_PREFIX / lib / foo/ dune-package
99+ Creating directory / OPAM_PREFIX / lib / foo
100+ Copying _build/ install/ default / lib / foo/ dune-package to / OPAM_PREFIX / lib / foo/ dune-package (executable: false)
101+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo$ext_lib
102+ Installing / OPAM_PREFIX / lib / foo/ foo$ext_lib
103+ Creating directory / OPAM_PREFIX / lib / foo
104+ Copying _build/ install/ default / lib / foo/ foo$ext_lib to / OPAM_PREFIX / lib / foo/ foo$ext_lib (executable: false)
105+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cma
106+ Installing / OPAM_PREFIX / lib / foo/ foo. cma
107+ Creating directory / OPAM_PREFIX / lib / foo
108+ Copying _build/ install/ default / lib / foo/ foo. cma to / OPAM_PREFIX / lib / foo/ foo. cma (executable: false)
109+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmi
110+ Installing / OPAM_PREFIX / lib / foo/ foo. cmi
111+ Creating directory / OPAM_PREFIX / lib / foo
112+ Copying _build/ install/ default / lib / foo/ foo. cmi to / OPAM_PREFIX / lib / foo/ foo. cmi (executable: false)
113+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmt
114+ Installing / OPAM_PREFIX / lib / foo/ foo. cmt
115+ Creating directory / OPAM_PREFIX / lib / foo
116+ Copying _build/ install/ default / lib / foo/ foo. cmt to / OPAM_PREFIX / lib / foo/ foo. cmt (executable: false)
117+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmx
118+ Installing / OPAM_PREFIX / lib / foo/ foo. cmx
119+ Creating directory / OPAM_PREFIX / lib / foo
120+ Copying _build/ install/ default / lib / foo/ foo. cmx to / OPAM_PREFIX / lib / foo/ foo. cmx (executable: false)
121+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmxa
122+ Installing / OPAM_PREFIX / lib / foo/ foo. cmxa
123+ Creating directory / OPAM_PREFIX / lib / foo
124+ Copying _build/ install/ default / lib / foo/ foo. cmxa to / OPAM_PREFIX / lib / foo/ foo. cmxa (executable: false)
125+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. ml
126+ Installing / OPAM_PREFIX / lib / foo/ foo. ml
127+ Creating directory / OPAM_PREFIX / lib / foo
128+ Copying _build/ install/ default / lib / foo/ foo. ml to / OPAM_PREFIX / lib / foo/ foo. ml (executable: false)
129+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ opam
130+ Installing / OPAM_PREFIX / lib / foo/ opam
131+ Creating directory / OPAM_PREFIX / lib / foo
132+ Copying _build/ install/ default / lib / foo/ opam to / OPAM_PREFIX / lib / foo/ opam (executable: false)
133+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmxs
134+ Installing / OPAM_PREFIX / lib / foo/ foo. cmxs
135+ Creating directory / OPAM_PREFIX / lib / foo
136+ Copying _build/ install/ default / lib / foo/ foo. cmxs to / OPAM_PREFIX / lib / foo/ foo. cmxs (executable: true)
138137 Removing (if it exists ) / OPAM_PREFIX/ bin/ exec
139138 Installing / OPAM_PREFIX/ bin/ exec
140139 Creating directory / OPAM_PREFIX/ bin
@@ -151,26 +150,26 @@ destdir`:
151150 Installing / OPAM_PREFIX/ man/ man3/ another-man-page. 3
152151 Creating directory / OPAM_PREFIX/ man/ man3
153152 Copying _build/ install/ default / man/ man3/ another-man-page. 3 to / OPAM_PREFIX/ man/ man3/ another-man-page. 3 (executable: false)
154- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ META
155- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ dune-package
156- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo$ext_lib
157- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cma
158- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmi
159- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmt
160- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmx
161- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmxa
162- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. ml
163- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ opam
164- Removing (if it exists ) / OCAMLFIND_DESTDIR / foo/ foo. cmxs
153+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ META
154+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ dune-package
155+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo$ext_lib
156+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cma
157+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmi
158+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmt
159+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmx
160+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmxa
161+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. ml
162+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ opam
163+ Removing (if it exists ) / OPAM_PREFIX / lib / foo/ foo. cmxs
165164 Removing (if it exists ) / OPAM_PREFIX/ bin/ exec
166165 Removing (if it exists ) / OPAM_PREFIX/ man/ a-man-page-with-no-ext
167166 Removing (if it exists ) / OPAM_PREFIX/ man/ man1/ a-man-page. 1
168167 Removing (if it exists ) / OPAM_PREFIX/ man/ man3/ another-man-page. 3
169168 Removing directory (if empty) / OPAM_PREFIX/ man/ man3
170169 Removing directory (if empty) / OPAM_PREFIX/ man/ man1
171170 Removing directory (if empty) / OPAM_PREFIX/ man
171+ Removing directory (if empty) / OPAM_PREFIX/ lib / foo
172172 Removing directory (if empty) / OPAM_PREFIX/ bin
173- Removing directory (if empty) / OCAMLFIND_DESTDIR/ foo
174173
175174If only libdir is passed, binaries are installed under prefix / bin and libraries
176175in libdir:
0 commit comments