OCaml Forge

Detail: [#852] destdir should be changeable at -install time

Feature Requests: Browse | Download .csv | Monitor

[#852] destdir should be changeable at -install time

Date:
2010-12-30 10:11
Priority:
3
State:
Open
Submitted by:
Török Edwin (edwin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
0.3.0
Product:
OASIS
Component:
General
Operating System:
None
 
Summary:
destdir should be changeable at -install time

Detailed description
With automake you can usually change destdir at make time like this, which among other things is useful to test your install target without actually messing up /usr/local.
make install DESTDIR=/tmp/staging1/

oasis doesn't seem to support this (I can only set --destdir at configure time).

Followup

Message
Date: 2010-12-30 11:13
Sender: Sylvain Le Gall

Well, that is overrideable but using "destdir".

$ make install destdir=/tmp/staging1/

Don't blame me, I know it is a poor design choice.

I will add a a "Sys.getenv DESTDIR " if "destdir" is not set.

Attached Files:

Changes:

Field Old Value Date By
Due in versionNone2010-12-30 11:13gildor-admin
assigned_tonone2010-12-30 11:13gildor-admin