You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :)
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.
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. :)
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
The text was updated successfully, but these errors were encountered: