Cabal-1.12.0: A framework for packaging Haskell software

Portabilityportable
Maintainercabal-devel@haskell.org

Distribution.Simple.NHC

Description

This module contains most of the NHC-specific code for configuring, building and installing packages.

Synopsis

Documentation

buildLib :: Verbosity -> PackageDescription -> LocalBuildInfo -> Library -> ComponentLocalBuildInfo -> IO ()Source

FIX: For now, the target must contain a main module. Not used ATM. Re-add later.

installLibSource

Arguments

:: Verbosity

verbosity

-> FilePath

install location

-> FilePath

Build location

-> PackageIdentifier 
-> Library 
-> IO () 

Install for nhc98: .hi and .a files

installExeSource

Arguments

:: Verbosity

verbosity

-> FilePath

install location

-> FilePath

Build location

-> (FilePath, FilePath)

Executable (prefix,suffix)

-> Executable 
-> IO () 

Install executables for NHC.