Cabal-1.6.0.1: A framework for packaging Haskell softwareContentsIndex
Distribution.Simple.Build
Portabilityportable
Maintainercabal-devel@haskell.org
Description

This is the entry point to actually building the modules in a package. It doesn't actually do much itself, most of the work is delegated to compiler-specific actions. It does do some non-compiler specific bits like running pre-processors.

There's some stuff to do with generating makefiles which is a well hidden feature that's used to build libraries inside the GHC build system but which we'd like to kill off and replace with something better (doing our own dependency analysis properly).

Synopsis
build :: PackageDescription -> LocalBuildInfo -> BuildFlags -> [PPSuffixHandler] -> IO ()
makefile :: PackageDescription -> LocalBuildInfo -> MakefileFlags -> [PPSuffixHandler] -> IO ()
initialBuildSteps :: FilePath -> PackageDescription -> LocalBuildInfo -> Verbosity -> [PPSuffixHandler] -> IO ()
writeAutogenFiles :: Verbosity -> PackageDescription -> LocalBuildInfo -> IO ()
Documentation
build
:: PackageDescriptionmostly information from the .cabal file
-> LocalBuildInfoConfiguration information
-> BuildFlagsFlags that the user passed to build
-> [PPSuffixHandler]preprocessors to run before compiling
-> IO ()
Build the libraries and executables in this package.
makefile
:: PackageDescriptionmostly information from the .cabal file
-> LocalBuildInfoConfiguration information
-> MakefileFlagsFlags that the user passed to makefile
-> [PPSuffixHandler]preprocessors to run before compiling
-> IO ()
initialBuildSteps
:: FilePathdist prefix
-> PackageDescriptionmostly information from the .cabal file
-> LocalBuildInfoConfiguration information
-> VerbosityThe verbosity to use
-> [PPSuffixHandler]preprocessors to run before compiling
-> IO ()
writeAutogenFiles :: Verbosity -> PackageDescription -> LocalBuildInfo -> IO ()
Generate and write out the Paths_pkg.hs and cabal_macros.h files
Produced by Haddock version 2.3.0