build sys: fix "ocamlbuild -where"

it should now display either $OCAMLLIB/ocamlbuild if
OCAMLLIB is defined or the library directory chosen
at configure-time of OCaml plus /ocamlbuild:
 i.e. `ocamlc -where`/ocamlbuild.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Nicolas Pouillard 2009-03-05 14:33:43 +00:00
parent f897ed0c73
commit e00a537801
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -344,6 +344,8 @@ copy_rule' "ocamldoc/odoc.byte" "ocamldoc/ocamldoc";;
copy_rule' "ocamldoc/odoc_opt.native" "ocamldoc/ocamldoc.opt";;
copy_rule' "tools/ocamlmklib.byte" "tools/ocamlmklib";;
copy_rule' "otherlibs/dynlink/extract_crc.byte" "otherlibs/dynlink/extract_crc";;
copy_rule' "myocamlbuild_config.mli" "ocamlbuild/ocamlbuild_Myocamlbuild_config.mli";;
copy_rule' "myocamlbuild_config.ml" "ocamlbuild/ocamlbuild_Myocamlbuild_config.ml";;
copy_rule' ~insert:`bottom "%" "%.exe";;