Skip to content

jbuilder install --libdir does not follow its --help specification #250

@pirbo

Description

@pirbo

You can read on jbuilder install --help:

--libdir=PATH
           Directory where library files are copied, relative to prefix or
           absolute. If --prefix is specified the default is $prefix/lib,
           otherwise it is the output of ocamlfind printconf destdir

but the reality seems to be

--libdir=PATH
           Directory where library files are copied, relative to prefix or
           absolute. The default is the output of ocamlfind printconf destdir

I experimented with easy-format:

$ OCAMLFIND_DESTDIR=/tmp/anothertest jbuilder install --prefix /tmp/thisisatest
opam-installer easy-format.install
Creating directory /tmp/anothertest/easy-format
_build/install/default/lib/easy-format/META => /tmp/anothertest/easy-format/META
_build/install/default/lib/easy-format/opam => /tmp/anothertest/easy-format/opam
_build/install/default/lib/easy-format/easy_format.cmi => /tmp/anothertest/easy-format/easy_format.cmi
_build/install/default/lib/easy-format/easy_format.cmx => /tmp/anothertest/easy-format/easy_format.cmx
_build/install/default/lib/easy-format/easy_format.cmt => /tmp/anothertest/easy-format/easy_format.cmt
_build/install/default/lib/easy-format/easy_format.cmti => /tmp/anothertest/easy-format/easy_format.cmti
_build/install/default/lib/easy-format/easy_format.mli => /tmp/anothertest/easy-format/easy_format.mli
_build/install/default/lib/easy-format/easy_format.cma => /tmp/anothertest/easy-format/easy_format.cma
_build/install/default/lib/easy-format/easy_format.cmxa => /tmp/anothertest/easy-format/easy_format.cmxa
_build/install/default/lib/easy-format/easy_format.a => /tmp/anothertest/easy-format/easy_format.a
_build/install/default/lib/easy-format/easy_format.cmxs => /tmp/anothertest/easy-format/easy_format.cmxs
_build/install/default/doc/easy-format/README.md => /tmp/thisisatest/doc/easy-format/README.md
_build/install/default/doc/easy-format/LICENSE => /tmp/thisisatest/doc/easy-format/LICENSE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions