Distribution.Simple.Install

Cabal-2.2.0.1: A framework for packaging Haskell software

Copyright | Isaac Jones 2003-2004
License | BSD3
Maintainer | cabal-devel@haskell.org
Portability | portable
Safe Haskell | None
Language | Haskell2010

Distribution.Simple.Install

Description

This is the entry point into installing a built package. Performs the "`./setup install`" and "`./setup copy`" actions. It moves files into place based on the prefix argument. It does the generic bits and then calls compiler-specific functions to do the rest.

Synopsis

- install :: PackageDescription -> LocalBuildInfo -> CopyFlags -> IO ()

# Documentation

install #

Arguments

:: PackageDescription | information from the .cabal file
-> LocalBuildInfo | information from the configure step
-> CopyFlags | flags sent to copy or install
-> IO () |

Perform the "`./setup install`" and "`./setup copy`" actions. Move files into place based on the prefix argument.

This does NOT register libraries, you should call `register` to do that.