Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New opam field to specify the location of the .install file #3880

Open
dbuenzli opened this issue Jun 22, 2019 · 0 comments
Open

New opam field to specify the location of the .install file #3880

dbuenzli opened this issue Jun 22, 2019 · 0 comments

Comments

@dbuenzli
Copy link
Contributor

Currently a .install file needs to be written at the root of the package build directory to be considered.

However the natural location of such a file is rather in the build directory of the build system: this make it easy to clean and need no special line in our .gitignores.

So I think it would be nice to have a field

install-file: <string>

that allows to specify its location w.r.t. to the root of the package build directory (the semantics of the .install file remains however exactly the same, i.e. relative file paths therein are expressed relative to the root of the package build directory).

If something like #3797 becomes a reality end users won't be even bothered to have to write this down as most opam files will end-up being generated anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants