Linux Commands Examples

A great documentation place for Linux commands

dh_builddeb

build Debian binary packages

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
export QT_SELECT := qt5
%:
dh $@
override_dh_auto_configure:
qmake
override_dh_builddeb:
dh_builddeb -- -Zxz
0
source
            
override_dh_builddeb:
dh_builddeb --package=$(pkg)
dpkg-deb --nocheck --build debian/$(pkg)2 ../$(pkg)2_1.0_all.deb

description

dh_builddeb simply calls dpkg-deb(1) to build a Debian package or packages.

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

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.


see also

debhelper

This program is a part of debhelper.


author

Joey Hess <joeyh[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?


give  feedback