package ocamlbuild-pkg

  1. Overview
  2. Docs
An ocamlbuild plugin that helps packaging softwares.

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.1.tar.gz
sha256=82cfd3757c277410245c87403fead5e4ad6f1fb4c3db06d7cfa6d5aaee6e75ff
md5=24090e112d5a8baf3b4f85c24bce48f2

doc/ocamlbuild-pkg/Ocamlbuild_pkg/Install/index.html

Module Ocamlbuild_pkg.Install

type file
type dir
val file : ?check:[ `Check | `Optional ] -> ?target:string -> Ocamlbuild_plugin.Pathname.t -> file

file ?check ?target filename represents a file filename to be installed. ?check ask whenever you want ocamlbuild-pkg to check if the file exists before adding it to the .install file or if you just want it to be optional. ?target ask you if you want the file to be renamed at installation

val dir : dir:string -> file list -> dir

dir ~dir files reprensents a list of file to be installed in a given directory. To see the directory accepted, see the opam documentation

val dispatcher : Ocamlbuild_plugin.Pathname.t -> dir list -> Ocamlbuild_plugin.hook -> unit

dispatcher install dirs hook creates a rule that create an install file (usually suffixed by .install) with dirs as content.

OCaml

Innovation. Community. Security.