]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitacLib.ml
matitac: We do not generate the .moo and .lexicon of a dumped .mma
[helm.git] / matita / matitacLib.ml
index 8bb0dab4c2a1dd12af444535b0f10cf81e8a8376..c2cdd7ef5787e886f9629ca8bb5bb7bf27677bf4 100644 (file)
@@ -371,8 +371,11 @@ let main ~mode =
          LibraryMisc.lexicon_file_of_baseuri 
           ~must_exist:false ~baseuri ~writable:true 
        in
-       GrafiteMarshal.save_moo moo_fname moo_content_rev;
-       LexiconMarshal.save_lexicon lexicon_fname lexicon_content_rev;
+(* FG: we do not generate .moo when dumping .mma files *)
+       if Helm_registry.get_bool "matita.moo" then begin
+          GrafiteMarshal.save_moo moo_fname moo_content_rev;
+          LexiconMarshal.save_lexicon lexicon_fname lexicon_content_rev;
+       end;
        HLog.message 
          (sprintf "execution of %s completed in %s." fname (hou^min^sec));
        pp_times fname bench_mode true big_bang;