dpkgbuildpackage
dpkg-buildpackage is a command-line tool included with the dpkg-dev package used to build Debian source and binary packages from a debianized source tree. It is typically run from the top-level directory of a source package, which contains a debian/ directory with packaging metadata such as control, rules, and changelog. The tool invokes the package’s build system, usually via the debian/rules makefile, to compile code, assemble binaries, and produce the package artifacts.
The build output is placed in the parent directory of the source tree and can include binary
Signing and authenticity are supported. If signing is configured, dpkg-buildpackage can sign the changes file and/or
The tool is a central part of the Debian packaging workflow and is commonly used alongside tools