dpkg-buildpackage --version (return code: 0)
Debian dpkg-buildpackage version 1.18.4.
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
dpkg-buildpackage --help (return code: 0)
Usage: dpkg-buildpackage [<option>...]
Options:
-F normal full build (binaries and sources, default).
-g source and arch-indep build.
-G source and arch-specific build.
-b binary-only, no source files.
-B binary-only, only arch-specific files.
-A binary-only, only arch-indep files.
-S source-only, no binary files.
-nc do not clean source tree (implies -b).
-tc clean source tree when finished.
-D check build dependencies and conflicts (default).
-d do not check build dependencies and conflicts.
-P<profiles> assume given build profiles as active (comma-separated list).
-R<rules> rules file to execute (default is debian/rules).
-T<target> call debian/rules <target> with the proper environment.
--as-root ensure -T calls the target with root rights.
-j[<number>] jobs to run simultaneously (passed to <rules>), forced mode.
-J[<number>] jobs to run simultaneously (passed to <rules>), opt-in mode.
-r<gain-root-command>
command to gain root privileges (default is fakeroot).
--check-command=<check-command>
command to check the .changes file (no default).
--check-option=<opt>
pass <opt> to <check-command>.
--hook-<hook-name>=<hook-command>
set <hook-command> as the hook <hook-name>, known hooks:
init preclean source build binary changes postclean
check sign done
-p<sign-command>
command to sign .dsc and/or .changes files
(default is gpg2 or gpg).
-k<keyid> the key to use for signing.
-ap add pause before starting signature process.
-us unsigned source package.
-uc unsigned .changes file.
--force-sign
force signing the resulting files.
--admindir=<directory>
change the administrative directory.
-?, --help show this help message.
--version show the version.
Options passed to dpkg-architecture:
-a, --host-arch <arch> set the host Debian architecture.
-t, --host-type <type> set the host GNU system type.
--target-arch <arch> set the target Debian architecture.
--target-type <type> set the target GNU system type.
Options passed to dpkg-genchanges:
-si source includes orig, if new upstream (default).
-sa source includes orig, always.
-sd source is diff and .dsc only.
-v<version> changes since version <version>.
-m<maint> maintainer for package is <maint>.
-e<maint> maintainer for release is <maint>.
-C<descfile> changes are described in <descfile>.
--changes-option=<opt>
pass option <opt> to dpkg-genchanges.
Options passed to dpkg-source:
-sn force Debian native source format.
-s[sAkurKUR] see dpkg-source for explanation.
-z<level> compression level to use for source.
-Z<compressor> compression to use for source (gz|xz|bzip2|lzma).
-i[<regex>] ignore diffs of files matching regex.
-I[<pattern>] filter out files when building tarballs.
--source-option=<opt>
pass option <opt> to dpkg-source.