I'm in the process of rewriting most of the installation code and I'm at
the point where it's almost done, and I'm looking at the options to
configure that affect installation destinations and wondering which
really must be implemented.
configure supports a variety of standard options that impact install
directories, most of which we ignore because we have nothing to put into
them, and some of which just can't work currently given Rust's installation.
The relevant options that might affect Rust's installation are:
--mandir - changes where man pages go
--libdir - changes where libraries go
--rustlibdir - changes the *name* of rust's own directory under lib/
First of all, having `--rustlibdir` as an option is probably just wrong
and I don't intend to support it; I don't see any reason to make this
configurable.
Changing `--libdir` will almost certainly make rustc break since it
depends on being able to find the lib directory as a relative path from
the bin directory.
Finally, `--mandir` is an option that I suspect *actually works* in the
current implementation, but I don't know if there's any reason ever to
not install to `share/man`.
Is anybody using any of these options, and why?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev