File: install.mli

package info (click to toggle)
ocaml-obuild 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,456 kB
  • sloc: ml: 14,491; sh: 211; ansic: 34; makefile: 11
file content (18 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(** Library and executable installation *)

val opam_install_file : Project.t -> (string * bool) list -> unit
(** [opam_install_file proj_file flags] generates an OPAM .install file.

    Creates a <project>.install file listing all files to be installed.

    @param proj_file the project configuration
    @param flags configuration flags for determining which targets are installable *)

val install_libs : Project.t -> Filepath.filepath -> bool -> unit
(** [install_libs proj_file dest_dir opam] installs libraries to the destination directory.

    Copies compiled library files and META files to the installation directory.

    @param proj_file the project configuration
    @param dest_dir destination directory for installation
    @param opam whether to use OPAM-style installation *)