type modul = Ocamlbuild_plugin.Pathname.t
A module name (case sensitive corresponding to the file's case) without extension. i.e.
module Lib : sig ... end
module Bin : sig ... end
val create : name:string -> ?libs:Lib.t list -> ?bins:Bin.t list -> ?files:Install.dir list -> unit -> t
create ~name ?libs ?bins ?files () describes a package to be compiled and installed.
dispatcher pkg hook creates everything that is needed for installing your package:
- a META file for each
name.install to be used with opam (or opam-install).
filescontains additional files to be installed. And also building the package:
- a .mllib/.mldylib file for each
libs. To unable this function and to actually build the package, it is also required to call ocamlbuild with the package name as argument. For instance:
ocamalbuild -use-ocamlfind -plugin-tag "package(ocamlbuild-pkg)" your-pkg-name