Cabal-1.6.0.3: A framework for packaging Haskell softwareSource codeContentsIndex
Distribution.Simple.NHC
Portabilityportable
Maintainercabal-devel@haskell.org
Description
This module contains most of the NHC-specific code for configuring, building and installing packages.
Synopsis
configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration)
build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO ()
installLib :: Verbosity -> FilePath -> FilePath -> PackageIdentifier -> Library -> IO ()
installExe :: Verbosity -> FilePath -> FilePath -> (FilePath, FilePath) -> Executable -> IO ()
Documentation
configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration)Source
build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO ()Source
FIX: For now, the target must contain a main module. Not used ATM. Re-add later.
installLibSource
:: Verbosityverbosity
-> FilePathinstall location
-> FilePathBuild location
-> PackageIdentifier
-> Library
-> IO ()
Install for nhc98: .hi and .a files
installExeSource
:: Verbosityverbosity
-> FilePathinstall location
-> FilePathBuild location
-> (FilePath, FilePath)Executable (prefix,suffix)
-> Executable
-> IO ()
Install executables for GHC.
Produced by Haddock version 2.4.2