Cabal-1.8.0.4: A framework for packaging Haskell software

Portabilityportable
Maintainercabal-devel@haskell.org

Distribution.Simple.Hugs

Description

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

Synopsis

Documentation

installSource

Arguments

:: Verbosity

verbosity

-> FilePath

Library install location

-> FilePath

Program install location

-> FilePath

Executable install location

-> FilePath

Program location on target system

-> FilePath

Build location

-> (FilePath, FilePath)

Executable (prefix,suffix)

-> PackageDescription 
-> IO () 

Install for Hugs. For install, copy-prefix = prefix, but for copy they're different. The library goes in <copy-prefix>/lib/hugs/packages/<pkgname> (i.e. <prefix>/lib/hugs/packages/<pkgname> on the target system). Each executable goes in <copy-prefix>/lib/hugs/programs/<exename> (i.e. <prefix>/lib/hugs/programs/<exename> on the target system) with a script <copy-prefix>/bin/<exename> pointing at <prefix>/lib/hugs/programs/<exename>.