CABAL-DEBIAN(1)
π CABAL-DEBIAN π
okay so bestie, welcome to cabal-debian, section 1 of the General Commands Manual β your new fave little helper that turns a Haskell cabal file into Debian package meta data. she's giving β¨glow-upβ¨ for your packaging workflow, no cap.
πΈ NAME πΈ
cabal-debian β create Debian package meta data from a Haskell cabal file.
fr fr that's the whole job. she takes a cabal file and hands you the Debian-y stuff. iconic.
β¨ SYNOPSIS β¨
cabal-debian [flags]
just the command and your flags, that's it, that's the vibe π¦
π DESCRIPTION π
so basically cabal-debian will generate the Debian meta data for a Debian package straight from the cabal file of a Haskell package. the way she works is: the program expects to find the package's <pkgname>.cabal file in the directory from which it was run. so like, cd into the right folder first, bestie, she's not gonna go hunting around for it π
here's every single flag, and yes we're listing all of them because she deserves it π
--prefix=PATHβ pass this prefix if we need to configure the package.--ghcβ compile with GHC.--hugsβ compile with HUGS.--jhcβ compile with JHC.--nhcβ compile with NHC.-h,-?,--helpβ show this help text.--name=NAMEβ override the default package name.--disable-haddockβ don't generate API docs.--disable-library-profilingβ don't generate profiling libraries.--disable-optimizationβ don't generate optimised code.--disable-split-objsβ don't split object files to save space.-f FLAGS,--flags=FLAGSβ set given flags in Cabal conditionals.--release=RELEASEβ override the default package release.--debdir=DEBDIRβ override the default output directory ("./debian").-v n,q,--verbose=nβ change build verbosity.--version=VERSIONβ override the default package version.--maintainer=Maintainer Name <email addr>β override the Maintainer name and email in$DEBEMAIL/$EMAIL/$DEBFULLNAME/$FULLNAME.--debianizeβ generate a new debianization, replacing any existing one.--substvar=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.--update-debianizationβ update an existing debianization.
β οΈ okay important bestie, do NOT skip this one: you must pass one of--debianize,--substvar, or--update-debianization. one of those three, it is required. she will not be doing anything for you without one of them, periodt π
π 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). shoutout to Erik, absolute legend, we love a documentation king π
and that's the whole page!! π«Ά the header said CABAL-DEBIAN(1) and General Commands Manual, and the footer was stamped May 10, 2010 with CABAL-DEBIAN(1) down at the bottom β so yeah, this cutie has been out here since May 10, 2010 and she's still serving π go generate some meta data bestie, you got this πβ
π¦ where this page comes from
- debian bookworm: cabal-debian 5.2-1 Β· BSD-3-Clause
- debian trixie: cabal-debian 5.2.4-1 Β· BSD-3-Clause
- ubuntu jammy: cabal-debian 5.0.3-1build1.1 Β· BSD-3-Clause
- ubuntu noble: cabal-debian 5.2.2-1 Β· BSD-3-Clause
- ubuntu questing: cabal-debian 5.2.4-1
- ubuntu resolute: cabal-debian 5.5-1 Β· BSD-3-Clause
- ubuntu stonking: cabal-debian 5.5-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms