aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-11-20 20:02:54 +0000
committerGravatar pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-11-20 20:02:54 +0000
commit1c535a5a1e6f4dcc35bd67a99a7236c6e7a222ab (patch)
tree7803c5a9ed6bb9327d24ac0920e4f3e96b111a04 /tools
parent665652844458aa9826e425864781860504bf1836 (diff)
Add support for XDG_DATA_HOME and XDG_DATA_DIRS.
From Tom Prince git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14692 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdep.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml
index a683aaae9..bc840d2d9 100644
--- a/tools/coqdep.ml
+++ b/tools/coqdep.ml
@@ -200,8 +200,8 @@ let coqdep () =
add_rec_dir add_coqlib_known (coqlib//"plugins") ["Coq"];
let user = coqlib//"user-contrib" in
if Sys.file_exists user then add_rec_dir add_coqlib_known user [];
- let coqpath = Envars.coqpath () in
- List.iter (fun s -> add_rec_dir add_coqlib_known s []) coqpath;
+ List.iter (fun s -> add_rec_dir add_coqlib_known s []) Envars.xdg_dirs;
+ List.iter (fun s -> add_rec_dir add_coqlib_known s []) Envars.coqpath;
end;
List.iter (fun (f,d) -> add_mli_known f d) !mliAccu;
List.iter (fun (f,d) -> add_mllib_known f d) !mllibAccu;