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

Support for $DESTDIR on install #4255

Closed
vicuna opened this issue Apr 4, 2007 · 3 comments
Closed

Support for $DESTDIR on install #4255

vicuna opened this issue Apr 4, 2007 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Apr 4, 2007

Original bug ID: 4255
Reporter: zumi
Status: closed (set by @xavierleroy on 2013-08-31T10:46:27Z)
Resolution: won't fix
Priority: normal
Severity: feature
Version: 3.09.3
Category: configure and build/install
Related to: #4225

Bug description

It would be much easier to make packages after a build if the makefiles would use $(DESTDIR), as most of the programs, when doing make install.

It would be really easy to implement it, just add $(DESTDIR) to every line where Makefile copies something to system directories. I started it but there are really lots of Makefiles in the source. :)

Information about $DESTDIR:
http://www.gnu.org/prep/standards/html_node/DESTDIR.html

Zumi

@vicuna
Copy link
Author

vicuna commented Apr 4, 2007

Comment author: @damiendoligez

I'm pretty sure this won't be necessary now that we have solved #4225

@vicuna
Copy link
Author

vicuna commented Apr 5, 2007

Comment author: zumi

Well, that could be used for the same purpose at the moment, however if ocaml is trying to be similar to GNU programs in configuring and compiling, then PREFIX should be used another way.

See this link, the "prefix" section:
http://www.gnu.org/prep/standards/html_node/Directory-Variables.html

For example, the configure script of gcc uses both $PREFIX and $DESTDIR and they have a certain function.

I still think that using $DESTDIR would be a good idea (and use $PREFIX as in the GNU Coding Standards). You (the developers) decide, I just like GNU-like configure and make scripts. :)

@vicuna
Copy link
Author

vicuna commented Feb 7, 2012

Comment author: @damiendoligez

OCaml is not really trying to be similar to GNU programs. We would do this change if packagers ask for it, but at this time, there isn't any demand.

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

1 participant