incluson path used to include something is printed (to understand what is gouing on)
| p :: tl ->
let path = p ^ "/" ^ path in
try
- ignore (Unix.stat path); path
+ ignore (Unix.stat path);
+ HLog.debug ("Including "^path^" with path: " ^ p);
+ path
with Unix.Unix_error _ -> aux tl
in
try
match root with
| None -> ()
| Some root ->
- developments := {root = root ; name = name} :: !developments)
+ developments := {root = root ; name = name} :: !developments;
+ let inc = Helm_registry.get_list
+ Helm_registry.string "matita.includes" in
+ Helm_registry.set_list Helm_registry.of_string
+ ~key:"matita.includes" ~value:(inc @ [root])
+ )
l
(* finds the makefile path for development devel *)