# dh-ocaml

`dh-ocaml` is a set of tools and documents to help maintaining Debian
packages related to the OCaml programming language.

## OCaml helper

`dh-ocaml` contains a helper written in OCaml. Since it is
build-depended on by all OCaml packages, and to avoid build-dependency
cycles, it is compiled to Javascript and the result, `helper.exe`, is
put in the source package. The helper is then run using QuickJS, which
is a packaged runtime working on all Debian architectures.

`helper.exe` must be regenerated (with `make -B helper.exe`) after
something changes in `helper/`. This is done if the package is built
with profile `pkg.dh-ocaml.bootstrap`.
