dh_ocamlinit(1)

dh_ocamlinit1

Substitutes ocaml variables in debian/*.in files with their corresponding value.

Usage

dh_ocamlinit [debhelper options]

Overview

dh_ocamlinit looks for debian/*.in files and replaces all present variables (like @OCAML_ABI@, @OCamlStdlibDir@ and @OCamlDllDir@) with the corresponding value.

Lines in files debian/*.in prefixed with OPT are only kept when ocaml compilation to native code is supported, lines prefixed with BYTE are only kept when compilation to native code is not supported, and lines prefixed with DYN are kept when dynamic linking is supported. dh_ocamlinit handles additional substitutions by specifying them in the OCAMLINIT_SED environment variable.

Options

-d

Clean files generated from present debian/*.in ones and exit. This option is deprecated, use dh_ocamlclean instead.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11–12
  7. 13

Author

Mehdi Dogguy <[email protected]>

From dh-ocaml 2.4 in Debian 13 (Trixie). Parsed by carta from the page's man source.