aboutsummaryrefslogtreecommitdiff
path: root/lib/envars.mli
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-30 09:39:54 +0200
committerMaxime Dénès2017-05-30 09:39:54 +0200
commitfd36c0451c26e44b1b7e93299d3367ad2d35fee3 (patch)
tree8b4d532931920ebf41941b2170282c63dd549c43 /lib/envars.mli
parentba3ccf80a44f0e06ee6e622a30f99de6804d005e (diff)
parenta0cec18b3ac2427aaf15d2808cf021a8931a2516 (diff)
Merge PR#356: Making management of installation directories more structured, more uniform
Diffstat (limited to 'lib/envars.mli')
-rw-r--r--lib/envars.mli13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/envars.mli b/lib/envars.mli
index b164e789d2..c8bbf17d96 100644
--- a/lib/envars.mli
+++ b/lib/envars.mli
@@ -27,12 +27,18 @@ val home : warn:(string -> unit) -> string
(** [coqlib] is the path to the Coq library. *)
val coqlib : unit -> string
+(** [docdir] is the path to the installed documentation. *)
+val docdir : unit -> string
+
+(** [datadir] is the path to the installed data directory. *)
+val datadir : unit -> string
+
+(** [configdir] is the path to the installed config directory. *)
+val configdir : unit -> string
+
(** [set_coqlib] must be runned once before any access to [coqlib] *)
val set_coqlib : fail:(string -> string) -> unit
-(** [docdir] is the path to the Coq documentation. *)
-val docdir : unit -> string
-
(** [coqbin] is the name of the current executable. *)
val coqbin : string
@@ -66,7 +72,6 @@ val camlp4 : unit -> string
*)
val xdg_config_home : (string -> unit) -> string
val xdg_data_home : (string -> unit) -> string
-val xdg_config_dirs : (string -> unit) -> string list
val xdg_data_dirs : (string -> unit) -> string list
val xdg_dirs : warn : (string -> unit) -> string list