Generate a package Debianization from Cabal data and command line options.
- cabalDebian :: Atoms -> IO ()
- callDebianize :: [String] -> Atoms -> IO ()
- runDebianize :: [String] -> IO Bool
- runDebianize' :: Top -> [String] -> IO Bool
- debianize :: Top -> (Atoms -> IO Atoms) -> Atoms -> IO ()
- debianization :: Top -> (Atoms -> IO Atoms) -> Atoms -> IO Atoms
- writeDebianization :: Top -> Atoms -> IO ()
- describeDebianization :: Atoms -> String
- compareDebianization :: Atoms -> Atoms -> String
- validateDebianization :: Atoms -> Atoms -> ()
Compile the given arguments into an Atoms value and run the
debianize function. This is basically equivalent to
--debianize, except that the command line arguments come from the
Put an argument list into the
CABALDEBIAN environment variable
and then run the script in debian/Debianize.hs. If this exists and
succeeds the return value is True, it may be assumed that a
debianization was created in the debian subdirectory of the current
directory. This is used to create customized debianizations that
are to sophisticated for the command line argument interface
available to the cabal-debian executable.
Call runDebianize with the given working directory.
Depending on the options in
atoms, either validate, describe,
or write the generated debianization.
Given an Atoms value, get any additional configuration information from the environment, read the cabal package description and possibly the debian/changelog file, then generate and return the new debianization (along with the data directory computed from the cabal package description.)
Write the files of the debianization
d to the directory
Compare the existing debianization in
top to the generated one
new, returning a string describing the differences.