]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitamakeLib.ml
propagation of noinnertypes to matitac
[helm.git] / matita / matitamakeLib.ml
index ccfdd9bab6f937754f98fe31ed7de9e420726010..2bf01f8979a32ad38caeb40cb80770c0d966c186 100644 (file)
@@ -215,7 +215,10 @@ let call_make ?matita_flags development target make =
     let system = 
       if Helm_registry.get_bool "matita.system" then " -system" else ""
     in
-    already_defined ^ bench ^ system
+    let noinnertypes = 
+      if Helm_registry.get_bool "matita.noinnertypes" then " -noinnertypes" else ""
+    in
+    already_defined ^ bench ^ system ^ noinnertypes
   in
   let csc = try ["SRC=" ^ Sys.getenv "SRC"] with Not_found -> [] in
   rebuild_makefile development;
@@ -355,7 +358,7 @@ let publish_development_bstract build clean devel =
     let orig_matita_flags = 
       try Sys.getenv "MATITA_FLAGS" with Not_found -> "" 
     in
-    "\"" ^ orig_matita_flags ^ "\"", "\"" ^ orig_matita_flags ^ " -system\"
+    orig_matita_flags, orig_matita_flags ^ " -system
   in
   HLog.message "cleaning the development before publishing";
   if clean ~matita_flags devel then