aboutsummaryrefslogtreecommitdiff
path: root/tools/ocamllibdep.mll
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-18 13:40:28 +0200
committerPierre-Marie Pédrot2018-10-19 16:19:45 +0200
commit3f6eebb9cfeda531d1f71e2ea0fa2d5afa9c28fc (patch)
treee714c433208c071b17838f911d74a328b72c636c /tools/ocamllibdep.mll
parent3799939088b5aa616974a0d37de7e2616024f222 (diff)
Adapt coq_makefile to handle coqpp-based macro files.
Diffstat (limited to 'tools/ocamllibdep.mll')
-rw-r--r--tools/ocamllibdep.mll4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ocamllibdep.mll b/tools/ocamllibdep.mll
index 053a0435ce..155296362f 100644
--- a/tools/ocamllibdep.mll
+++ b/tools/ocamllibdep.mll
@@ -145,9 +145,9 @@ let mllibAccu = ref ([] : (string * dir) list)
let mlpackAccu = ref ([] : (string * dir) list)
let add_caml_known phys_dir f =
- let basename,suff = get_extension f [".ml";".ml4";".mlpack"] in
+ let basename,suff = get_extension f [".ml";".ml4";".mlg";".mlpack"] in
match suff with
- | ".ml"|".ml4" -> add_ml_known basename (Some phys_dir) suff
+ | ".ml"|".ml4"|".mlg" -> add_ml_known basename (Some phys_dir) suff
| ".mlpack" -> add_mlpack_known basename (Some phys_dir) suff
| _ -> ()