dh_builddeb(1)

dh_builddeb1

Build debian binary packages

Usage

dh_builddeb [debhelper options] [--destdir=directory] [--filename=name] [-- params]

Overview

dh_builddeb simply calls dpkg-deb(1) to build a Debian package or packages. It will also build dbgsym packages when dh_strip(1) and dh_gencontrol(1) have prepared them.

It supports building multiple binary packages in parallel, when enabled by DEB_BUILD_OPTIONS.

When the Rules-Requires-Root field is not (effectively) binary-targets, dh_builddeb will pass --root-owner-group to dpkg-deb(1).

Options

--destdir=directory

Use this if you want the generated .deb files to be put in a directory other than the default of "..".

--filename=name

Use this if you want to force the generated .deb file to have a particular file name. Does not work well if more than one .deb is generated!

-- params

Pass params to dpkg-deb(1) when it is used to build the package.

-uparams

This is another way to pass params to dpkg-deb(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); --destdir since Debian 2.2 (Potato); --filename since Debian 3.1 (Sarge); -u since Debian 3.0 (Woody).

--arch until Debian 2.0 (Hamm); --indep until Debian 2.0 (Hamm); --name until Debian 3.0 (Woody); --no-act until Debian 2.0 (Hamm); --package until Debian 2.0 (Hamm); --tmpdir 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.