dh_gencontrol(1)

dh_gencontrol1

Generate and install control file

Usage

dh_gencontrol [debhelper options] [-- params]

Overview

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 dbgsym packages), 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 dbgsym packages, it some times adds additional packages, which will be built by dh_builddeb(1).

Options

-- 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.

Releases

15 releases since Debian 2.0 (Hamm); the text changed 14 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 3.1
  6. 4.0
  7. 5.0
  8. 6.0
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13

-- since Debian 2.2 (Potato); --dpkg-gencontrol-params since Debian 2.1 (Slink); -u since Debian 3.0 (Woody).

--arch until Debian 2.0 (Hamm); --indep until Debian 2.0 (Hamm); --no-act until Debian 2.0 (Hamm); --package until Debian 2.0 (Hamm); --tmpdir until Debian 2.0 (Hamm); --update-rcd-params until Debian 2.0 (Hamm); --verbose until Debian 2.0 (Hamm); -Ptmpdir until Debian 2.0 (Hamm); -a until Debian 2.0 (Hamm); -i until Debian 2.0 (Hamm); -ppackage until Debian 2.0 (Hamm); -uparams until Debian 2.2 (Potato); -v until Debian 2.0 (Hamm).

Author

Joey Hess <[email protected]>

From debhelper 13.24.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.