Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004255OCamlOCaml internal build/install (Makefiles, configure)public2007-04-04 20:232013-08-31 12:46
Reporterzumi 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.09.3 
Target VersionFixed in Version 
Summary0004255: Support for $DESTDIR on install
DescriptionIt 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
TagsNo tags attached.
Attached Files

- Relationships
related to 0004225closedertai Staged installation of 3.10beta 

-  Notes
(0004004)
doligez (administrator)
2007-04-04 23:42
edited on: 2007-04-04 23:43

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

(0004005)
zumi (reporter)
2007-04-05 10:17
edited on: 2007-04-05 10:20

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. :)

(0006893)
doligez (administrator)
2012-02-07 13:15

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.

- Issue History
Date Modified Username Field Change
2007-04-04 20:23 zumi New Issue
2007-04-04 23:42 doligez Relationship added related to 0004225
2007-04-04 23:42 doligez Note Added: 0004004
2007-04-04 23:43 doligez Note Edited: 0004004
2007-04-05 10:17 zumi Note Added: 0004005
2007-04-05 10:20 zumi Note Edited: 0004005
2007-04-23 16:35 doligez Severity minor => feature
2007-04-23 16:35 doligez Reproducibility always => N/A
2007-04-23 16:35 doligez Status new => acknowledged
2012-02-07 13:15 doligez Note Added: 0006893
2012-02-07 13:15 doligez Status acknowledged => resolved
2012-02-07 13:15 doligez Resolution open => won't fix
2012-02-07 13:15 doligez Category OCaml general => OCaml internal build/install (Makefiles, configure)
2013-08-31 12:46 xleroy Status resolved => closed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker