cabal-debian-1.3: debian/cabal-debian.1
.\"Original page generated by txt2man and then hacked extensively.
.TH CABAL-DEBIAN 1 "May 10, 2010"
.SH NAME
cabal-debian \- create Debian package meta data from a Haskell cabal file.
.SH SYNOPSIS
.B cabal-debian
.RI [flags]
.SH DESCRIPTION
cabal-debian will generated the Debian meta data for a Debian package from the
cabal file of a Haskell package. The program expects to find the package's
<pkgname>.cabal file in the directory from which it was run.
.TP
.B
\fB--prefix=PATH\fP
Pass this prefix if we need to configure the package
.TP
.B
\fB--ghc\fP
Compile with GHC.
.TP
.B
\fB--hugs\fP
Compile with HUGS.
.TP
.B
\fB--jhc\fP
Compile with JHC.
.TP
.B
\fB--nhc\fP
Compile with NHC.
.TP
.B
\fB-h, -?, \-\-help\fP
Show this help text.
.TP
.B
\fB--name\fP=NAME
Override the default package name.
.TP
.B
\fB--disable-haddock\fP
Don't generate API docs.
.TP
.B
\fB--disable-library-profiling\fP
Don't generate profiling libraries.
.TP
.B
\fB--disable-optimization\fP
Don't generate optimised code.
.TP
.B
\fB--disable-split-objs\fP
Don't split object files to save space.
.TP
.B
\fB-f\fP FLAGS, \fB--flags\fP=FLAGS
Set given flags in Cabal conditionals.
.TP
.B
\fB--release\fP=RELEASE
Override the default package release.
.TP
.B
\fB--debdir\fP=DEBDIR
Override the default output directory ("./debian").
.TP
.B
\fB-v n,q \fB--verbose=n\fP
Change build verbosity.
.TP
.B
\fB--version\fP=VERSION
Override the default package version.
.TP
.B
\fB--maintainer\fP=Maintainer Name <email addr>
Override the Maintainer name and email in $DEBEMAIL/$EMAIL/$DEBFULLNAME/$FULLNAME.
.TP
.B
\fB--debianize\fP
Generate a new debianization, replacing any existing one. One of
\fB--debianize\fP, \fB--substvar\fP, or \fB--update-debianization\fP is
required.
.TP
.B
\fB--substvar\fP=Doc, Prof, or Dev
Write out the list of dependencies required for the dev, prof or doc package
depending on the argument. This value can be added to the appropriate substvars
file.
.TP
.B
\fB--update-debianization\fP
Update an existing debianization.
.SH AUTHOR
This manual page was originally written by Erik de Castro Lopo
<erikd@mega-nerd.com> for the Debian GNU/Linux system (but may be used by
others).