Safe Haskell | None |
---|
Read an existing Debianization from a directory file.
- inputDebianization :: Top -> DebT IO ()
- inputDebianizationFile :: Top -> FilePath -> DebT IO ()
- inputChangeLog :: MonadIO m => Top -> DebT m ()
- inputCompiler :: MonadIO m => Top -> DebT m CompilerId
- inputCompiler' :: Top -> Verbosity -> Maybe Version -> IO CompilerId
- inputCabalization :: MonadIO m => Top -> DebT m ()
- inputCabalization' :: Top -> Verbosity -> CompilerId -> Set (FlagName, Bool) -> IO (Either [Dependency] PackageDescription)
- inputMaintainer :: MonadIO m => DebT m ()
- dataDir :: PackageDescription -> FilePath
Documentation
inputDebianization :: Top -> DebT IO ()Source
inputDebianizationFile :: Top -> FilePath -> DebT IO ()Source
Try to input a file and if successful add it to the debianization.
inputChangeLog :: MonadIO m => Top -> DebT m ()Source
inputCompiler :: MonadIO m => Top -> DebT m CompilerIdSource
inputCompiler' :: Top -> Verbosity -> Maybe Version -> IO CompilerIdSource
Read the compiler version specified by Cabal, optionally changing the version number.
inputCabalization :: MonadIO m => Top -> DebT m ()Source
inputCabalization' :: Top -> Verbosity -> CompilerId -> Set (FlagName, Bool) -> IO (Either [Dependency] PackageDescription)Source
inputMaintainer :: MonadIO m => DebT m ()Source
Try to compute a string for the the debian Maintainer: field using, in this order
1. the maintainer explicitly specified using Debian.Debianize.Monad.maintainer
2. the maintainer field of the cabal package,
3. the value returned by getDebianMaintainer, which looks in several environment variables,
4. the signature from the latest entry in debian/changelog,
5. the Debian Haskell Group, pkg-haskell-maintainers@lists.alioth.debian.org
dataDir :: PackageDescription -> FilePathSource
Compute the Cabal data directory for a Linux install from a Cabal package description. This needs to match the path cabal assigns to datadir in the distbuildautogen/Paths_packagename.hs module, or perhaps the path in the cabal_debian_datadir environment variable.