Cabal-3.14.1.0: A framework for packaging Haskell software
CopyrightIsaac Jones 2003-2004
LicenseBSD3
Maintainercabal-devel@haskell.org
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

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

Documentation

install Source #

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.

install_setupHooks Source #

Arguments

:: InstallHooks 
-> PackageDescription

information from the .cabal file

-> LocalBuildInfo

information from the configure step

-> CopyFlags

flags sent to copy or install

-> IO () 

installFileGlob Source #

Arguments

:: Verbosity 
-> CabalSpecVersion 
-> Maybe (SymbolicPath CWD ('Dir Pkg)) 
-> (Maybe (SymbolicPath CWD ('Dir DataDir)), SymbolicPath Pkg ('Dir DataDir))
(src_dir, dest_dir)
-> RelativePath DataDir 'File

file glob pattern

-> IO () 

Install the files specified by the given glob pattern.