| 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 ()
- install_setupHooks :: InstallHooks -> PackageDescription -> LocalBuildInfo -> CopyFlags -> IO ()
- installFileGlob :: Verbosity -> CabalSpecVersion -> Maybe (SymbolicPath CWD ('Dir Pkg)) -> (Maybe (SymbolicPath CWD ('Dir DataDir)), SymbolicPath Pkg ('Dir DataDir)) -> RelativePath DataDir 'File -> IO ()
Documentation
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.
Arguments
:: InstallHooks
-> PackageDescription
information from the .cabal file
-> LocalBuildInfo
information from the configure step
-> CopyFlags
flags sent to copy or install
-> IO ()