| Cabal-1.2.4.0: A framework for packaging Haskell software | Source code | Contents | Index
Distribution.Simple.Hugs |
Portability | portable
Stability | alpha
Maintainer | Isaac Jones <ijones@syntaxpolice.org>
Description
Build and install functionality for Hugs.
Synopsis
configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration)
build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO ()
install :: Verbosity -> FilePath -> FilePath -> FilePath -> FilePath -> FilePath -> PackageDescription -> IO ()
Documentation
configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration) | Source
build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO () | Source
Building a package for Hugs.
install | Source
:: Verbosity | verbosity
-> FilePath | Library install location
-> FilePath | Program install location
-> FilePath | Executable install location
-> FilePath | Program location on target system
-> FilePath | Build location
-> 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>.
Produced by Haddock version 0.9