| Cabal-1.2.4.0: A framework for packaging Haskell software | Source code | Contents | Index

Distribution.Simple.Register

Portability | portable
Stability | alpha
Maintainer | Isaac Jones <ijones@syntaxpolice.org>

Description
Explanation: Perform the "`./setup register`" action. Uses a drop-file for HC-PKG. See also Distribution.InstalledPackageInfo.
Synopsis

register :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO ()
unregister :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO ()
writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> Bool -> Maybe FilePath -> IO ()
removeInstalledConfig :: IO ()
removeRegScripts :: IO ()

Documentation

register | Source

:: PackageDescription |
-> LocalBuildInfo |
-> RegisterFlags | Install in the user's database?; verbose
-> IO () |

unregister :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO () | Source

writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> Bool -> Maybe FilePath -> IO () | Source

Register doesn't drop the register info file, it must be done in a separate step.

removeInstalledConfig :: IO () | Source

removeRegScripts :: IO () | Source

Produced by Haddock version 0.9