diff options
author | regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-12-07 14:30:29 +0000 |
---|---|---|
committer | regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-12-07 14:30:29 +0000 |
commit | 2457d1f320a48bbf7927122fed811731c5d62656 (patch) | |
tree | 1d8856f34a865afd47cee1fa91ae8664a41ad517 /lib/envars.mli | |
parent | 7b09d2539a3ffa66017f44d0fcf0ca67fc5bcb6b (diff) |
* lib/Envars:
Beautify.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16031 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/envars.mli')
-rw-r--r-- | lib/envars.mli | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/lib/envars.mli b/lib/envars.mli index 8de9ce458..c0142a8d7 100644 --- a/lib/envars.mli +++ b/lib/envars.mli @@ -6,8 +6,10 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(** This file gathers environment variables needed by Coq to run (such - as coqlib) *) +(** This file provides a high-level interface to the environment variables + needed by Coq to run (such as coqlib). The values of these variables + may come from different sources (shell environment variables, + command line options, options set at the time Coq was build). *) (** [expand_path_macros warn s] substitutes environment variables in a string by their values. This function also takes care of @@ -19,7 +21,7 @@ val expand_path_macros : warn:(string -> unit) -> string -> string on the OS. This information is usually stored in the $HOME environment variable on POSIX shells. If no such variable exists, then other common names are tried (HOMEDRIVE, HOMEPATH, - USERPROFILE). If all of them failed, [warn] is called. *) + USERPROFILE). If all of them fail, [warn] is called. *) val home : warn:(string -> unit) -> string (** [coqlib] is the path to the Coq library. *) @@ -45,21 +47,24 @@ val coqpath : string list (** [camlbin ()] is the path to the ocaml binaries. *) val camlbin : unit -> string -(** [camlp4bin ()] is an absolute reference to camlp4 binary. *) -val camlp4bin : unit -> string - (** [camllib ()] is the path to the ocaml standard library. *) val camllib : unit -> string -(** [camlp4lib ()] is the path to the camlp4 library. *) -val camlp4lib : unit -> string - (** [ocamlc ()] is the ocaml bytecode compiler that compiled this Coq. *) val ocamlc : unit -> string (** [ocamlc ()] is the ocaml native compiler that compiled this Coq. *) val ocamlopt : unit -> string +(** [camlp4bin ()] is the path to the camlp4 binary. *) +val camlp4bin : unit -> string + +(** [camlp4lib ()] is the path to the camlp4 library. *) +val camlp4lib : unit -> string + +(** [camlp4 ()] is the camlp4 utility. *) +val camlp4 : unit -> string + (** Coq tries to honor the XDG Base Directory Specification to access the user's configuration files. |