dh_gencontrol man page

dh_gencontrol — generate and install control file


dh_gencontrol [debhelper options] [-- params]


dh_gencontrol is a debhelper program that is responsible for generating control files, and installing them into the DEBIAN directory with the proper permissions.

This program is merely a wrapper around dpkg-gencontrol(1), which calls it once for each package being acted on (plus related ddebs), and passes in some additional useful flags.

Note that if you use dh_gencontrol, you must also use dh_builddeb(1) to build the packages. Otherwise, your build may fail to build as dh_gencontrol (via dpkg-gencontrol(1)) declares which packages are built. As debhelper automatically generates ddebs, it some times adds additional packages, which will be built by dh_builddeb(1).


-- params
Pass params to dpkg-gencontrol(1).
-uparams, --dpkg-gencontrol-params=params
This is another way to pass params to dpkg-gencontrol(1). It is deprecated; use -- instead.

See Also


This program is a part of debhelper.


Joey Hess <joeyh@debian.org>

Referenced By

debhelper(7), dh_builddeb(1).

Explore man page connections for dh_gencontrol(1).

Debhelper 9.20150628 2015-06-28