aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ml
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ml')
-rw-r--r--configure.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ml b/configure.ml
index f2f239075..71502058f 100644
--- a/configure.ml
+++ b/configure.ml
@@ -1061,6 +1061,16 @@ let write_configml f =
let _ = write_configml "config/coq_config.ml"
+(** * Symlinks or copies for the checker *)
+
+let _ =
+ let prog, args, prf =
+ if arch = "win32" then "cp", [], ""
+ else "ln", ["-s"], "../" in
+ List.iter (fun file ->
+ ignore(run "rm" ["-f"; "checker/"^file]);
+ ignore(run ~fatal:true prog (args @ [prf^"kernel/"^file;"checker/"^file])))
+ [ "esubst.ml"; "esubst.mli"; "names.ml"; "names.mli" ]
(** * Build the config/Makefile file *)