Safe Haskell | None |
---|---|
Language | Haskell98 |
Read an existing Debianization from a directory file.
- inputDebianization :: MonadIO m => EnvSet -> DebT m ()
- inputDebianizationFile :: MonadIO m => FilePath -> DebT m ()
- inputChangeLog :: MonadIO m => DebT m ()
- inputCabalization :: (MonadIO m, Functor m) => DebT m ()
- inputCabalization' :: Verbosity -> Set (FlagName, Bool) -> [CompilerId] -> IO [Either [Dependency] PackageDescription]
- inputMaintainer :: MonadIO m => DebT m ()
- dataDir :: PackageDescription -> FilePath
Documentation
inputDebianization :: MonadIO m => EnvSet -> DebT m () Source
inputDebianizationFile :: MonadIO m => FilePath -> DebT m () Source
Try to input a file and if successful add it to the debianization.
inputChangeLog :: MonadIO m => DebT m () Source
inputCabalization :: (MonadIO m, Functor m) => DebT m () Source
inputCabalization' :: Verbosity -> Set (FlagName, Bool) -> [CompilerId] -> 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 Debian Haskell Group, pkg-haskell-maintainers@lists.alioth.debian.org
,
if --official is set
2. the maintainer explicitly specified using "Debian.Debianize.Monad.maintainer"
3. the maintainer field of the cabal package, but only if --official is not set,
4. the value returned by getDebianMaintainer, which looks in several environment variables,
5. the signature from the latest entry in debian/changelog,
6. the Debian Haskell Group, pkg-haskell-maintainers@lists.alioth.debian.org
dataDir :: PackageDescription -> FilePath Source
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.