OCaml Forge

Detail: [#1005] Simplify "ocaml setup.ml -configure" ouput

Feature Requests: Browse | Download .csv | Monitor

[#1005] Simplify "ocaml setup.ml -configure" ouput

Date:
2011-06-29 17:11
Priority:
3
State:
Open
Submitted by:
Grégoire Henry (hnrgrgr)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
None
Product:
OASIS
Component:
OASIS
Operating System:
None
 
Summary:
Simplify "ocaml setup.ml -configure" ouput

Detailed description
When configuring a library, some path informations aren't always useful. For example:

Install architecture-independent files dir: .................. /usr/local
Install architecture-dependent files in dir: ................. $prefix
User executables: ............................................ $prefix/bin

Not printing those paths -- when they are unused by the installation process -- may simplify the configuration process : by checking the output of "ocaml setup.ml -configure", a user know if he have to tune those paths to its custom installation.

Followup

Message
Date: 2011-06-29 17:23
Sender: Sylvain Le Gall

Why not, but it requires quite a bit of work, because you'll have to understand where thos path are used...

I guess, you want that:
- if an executable section is present -> show User executable + its deps (e.g. if it contains $prefix, show Install architecture-independent files dir)
- if a data file is present (in exec or lib) -> show its location + depends
- if a document is present -> show its location + depends

I guess, the same should stands for other variables that are used or not (e.g. architecture, compiler flags).

Please tell me more about how to filter all this.

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2011-06-29 17:23gildor-admin