Scroll to navigation

debianize(1) User Commands debianize(1)

NAME

debianize - generate a Debian directory for a package

SYNOPSIS

debianize [OPTIONS] [UPSTREAM]

DESCRIPTION

This experimental command gathers information about a package and generates skeleton Debian control files for it. It will fill in the fields for which it can find a reasonable value, and leave the other fields unset.

Warning: debianize is experimental and often generates packaging that is incomplete or does not build as-is.

positional arguments:

URL of the upstream repository or source to package.

optional arguments:

Show this help message and exit.
Show program's version number and exit.
Directory to run in. Defaults to the current directory.
Be more verbose.
Enable debug output.
Do not probe external services.
Whether to allow running code from the package.
Pull in external (not maintained by upstream) directory data.
Check guessed metadata against external sources.
Create a new debian/ directory even if one already exists.
Invoke deb-fix-build afterwards to build package and add missing dependencies.
Install package after building (implies --iterate-fix).
Session type for isolation: plain, schroot[:name], or unshare[:tarball]. Defaults to "unshare".
Build command to use when --iterate-fix is active.
Maximum number of build iterations when using --iterate-fix. Defaults to 50.
Command to create a source tarball. Also read from the DIST environment variable.
Debian revision for the new release. Defaults to "1".
Upstream version to package.
ognibuild dep server to use. Also read from the OGNIBUILD_DEPS environment variable.
Maintainer team ("$NAME <$EMAIL>").
Store output in a temporary directory (just for testing).
Directory to store build output in.
Attempt to package dependencies if they are not yet packaged.
Name of Debian branch to create. Defaults to "%(vendor)s/main". Use an empty string to stay at the current branch.
Package whatever source will create the named Debian binary package.
What kind of release to package (e.g. "auto", "release", "snapshot"). Defaults to "auto". Conflicts with --release.
Package latest upstream release rather than a snapshot.
Package requirement specification (e.g., ">=1.0.0").
Force specific build system (override detection).

SEE ALSO

lintian-brush(1)

AUTHORS

Jelmer Vernooij <jelmer@debian.org>

February 2026 debianize