DH_GENCONTROL(1)                  Debhelper                 DH_GENCONTROL(1)

NAME         top

       dh_gencontrol - generate and install control file

SYNOPSIS         top

       dh_gencontrol [debhelper options] [-- params]

DESCRIPTION         top

       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

OPTIONS         top

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


       This program is a part of debhelper.

AUTHOR         top

       Joey Hess <>

COLOPHON         top

       This page is part of the debhelper (helper programs for debian/rules)
       project.  Information about the project can be found at 
       ⟨⟩.  If you
       have a bug report for this manual page, send it to  This page was obtained from the project's
       upstream Git repository
       ⟨⟩ on
       2018-04-30.  (At that time, the date of the most recent commit that
       was found in the repository was 2018-01-28.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

11.1.4                           2018-01-23                 DH_GENCONTROL(1)