| Cabal-1.2.2.0: A framework for packaging Haskell software | 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

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

unregister :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO ()
writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> Bool -> Maybe FilePath -> IO ()
Register doesn't drop the register info file, it must be done in a separate step.
removeInstalledConfig :: IO ()
removeRegScripts :: IO ()
Produced by Haddock version 0.8