diff --git a/doc/usage.rst b/doc/usage.rst index d597857a..635c1b05 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -248,7 +248,7 @@ to be able to use ``jbuilder install``. Destination ----------- -The place where the build artifacts (except ocaml libraries) are copied, usually referred as +The place where the build artifacts (except library files) are copied, usually referred as **prefix**, is determined as follow for a given build context: #. if an explicit ``--prefix `` argument is passed, use this path @@ -256,10 +256,11 @@ The place where the build artifacts (except ocaml libraries) are copied, usually prefix`` #. otherwise, take the parent of the directory where ``ocamlc`` was found. -The ocaml libraries build artifacts are copied, referred as +The place where the library files are copied, referred as **libdir**, is determined as follow for a given build context: #. if an explicit ``--libdir `` argument is passed, use this path +#. if an explicit ``--prefix `` argument is passed, use ``/lib`` #. if ``ocamlfind`` is present in the ``PATH``, use the output of ``ocamlfind printconf destdir`` #. if ``opam`` is present in the ``PATH``, use the output of ``opam config var