1 exception NoRootFor of string
3 val find_root: string -> string
5 (* val parse_root: string -> (string*string) list *)
7 (* baseuri_of_script ?(inc:REG[matita.includes]) fname
9 * root, buri, fullpath, rootrelativepath
10 * sample: baseuri_of_script a.ma -> /home/pippo/devel/, cic:/matita/a,
11 * /home/pippo/devel/a.ma *)
12 val baseuri_of_script:
13 include_paths:string list -> string -> string * string * string * string
15 (* finds all the roots files in the specified dir *)
16 val find_roots_in_dir: string -> string list
19 type options = (string * string) list
25 val load_deps_file: string -> (source_object * source_object list) list
26 val target_of: options -> source_object -> target_object
27 val string_of_source_object: source_object -> string
28 val string_of_target_object: target_object -> string
29 val build: options -> source_object -> bool
30 val root_of: options -> source_object -> string option
31 val mtime_of_source_object: source_object -> float option
32 val mtime_of_target_object: target_object -> float option
36 functor (F : Format) ->
38 (* make [root dir] [targets], targets = [] means make all *)
39 val make : string -> F.source_object list -> bool
42 val load_deps_file: string -> (string * string list) list
43 val write_deps_file: string -> (string * string list) list -> unit