package opam-state

  1. Overview
  2. Docs

Default config

Library path for a given package: $prefix/lib/$name

Library path: $prefix/lib

val stublibs : t -> OpamTypes.switch -> OpamTypes.dirname

DLL paths

val toplevel : t -> OpamTypes.switch -> OpamTypes.dirname

toplevel path: $prefix/lib/toplevel

Documentation path for a given package: $prefix/doc/$name

Documentation path: $prefix/doc/

val share_dir : t -> OpamTypes.switch -> OpamTypes.dirname

Shared directory: $prefix/share

Share directory for a given package: $prefix/share/$package

Etc directory: $prefix/etc

Etc directory for a given package: $prefix/etc/$package

val man_dir : ?num:string -> t -> OpamTypes.switch -> OpamTypes.dirname

Man pages path: $prefix/man/. The optional num argument will add a manN suffix if specified

Installed binaries: $prefix/bin

Installed system binaries: $prefix/sbin

OCaml

Innovation. Community. Security.