Merge branch 'handle-stdout'
[SXSI/xpathcomp.git] / build
diff --git a/build b/build
index dc0ddf3..e45b732 100755 (executable)
--- a/build
+++ b/build
@@ -14,16 +14,16 @@ module Cmdline =
     let verbose = ref ""
     let jobs = ref 0
     let specs = align
-      [ "-verbose", Unit (set verbose "-verbose 10 -classic-display"),
+      [ "-verbose", Unit (set verbose " -classic-display"),
        " Display compilation commands";
 
-       "-debug", Unit (cons tags "-tag debug"),
+       "-enable-debug", Unit (cons tags "-tag debug"),
        " Build with debugging code";
 
-       "-profile", Unit (cons tags "-tag profile"),
+       "-enable-profile", Unit (cons tags "-tag profile"),
        " Build with profiling code";
 
-       "-trace", Unit (cons tags "-tag trace"),
+       "-enable-log", Unit (cons tags "-tag log"),
        " Build with tracing code enabled";
 
        "-byte", Unit (set flavor "byte"),
@@ -56,7 +56,7 @@ let tests_targets = []
 let () = Cmdline.parse ()
 let cmd_list =
   let ocamlbuild =
-    Printf.sprintf "ocamlbuild -no-hygiene %s %s -j %i "
+    Printf.sprintf "ocamlbuild %s %s -j %i "
       !Cmdline.verbose (String.concat " " !Cmdline.tags) !Cmdline.jobs
   in
   List.map begin function