Commit fe182a1d authored by Bruno Guillaume's avatar Bruno Guillaume

camlp4 —> cppo

parent af199f01
......@@ -11,7 +11,9 @@ let read file =
let () =
dispatch begin function
| After_rules ->
let pp_src = S[A"-pp"; A("camlp4o pa_macro.cmo -DBUILD_GUI -DDATA_DIR=\\\""^(read "DATA_DIR")^"\\\" -DVERSION=\\\""^(read "VERSION")^"\\\"")] in
let data_dir = "\""^(read "DATA_DIR")^"\""
and version = "\""^(read "VERSION")^"\"" in
let pp_src = S[A"-pp"; A("cppo -D 'VERSION "^version^"' -D 'DATA_DIR "^data_dir^"'")] in
flag ["ocaml"; "ocamldep"] & pp_src;
flag ["ocaml"; "compile"] & pp_src;
| _ -> ()
......
......@@ -10,6 +10,7 @@ remove: [
["make" "uninstall" "PREFIX=%{prefix}%"]
]
depends: [
"cppo"
"lablgtk"
"lablwebkit" {= "1.8.2.1"}
"cairo2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment