The following command line options are supported by all debhelper
programs.
-v
, --verbose
Verbose mode: show all commands that modify the package build
directory.
--no-act
Do not really do anything. If used with -v, the result is
that the command will output what it would have done.
-a
, --arch
Act on architecture dependent packages that should be built
for the DEB_HOST_ARCH
architecture.
-i
, --indep
Act on all architecture independent packages.
-p
package, --package=
package
Act on the package named package. This option may be
specified multiple times to make debhelper operate on a given
set of packages.
-s
, --same-arch
Deprecated alias of -a
.
This option is removed in compat 12.
-N
package, --no-package=
package
Do not act on the specified package even if an -a
, -i
, or -p
option lists the package as one that should be acted on.
--remaining-packages
Do not act on the packages which have already been acted on
by this debhelper command earlier (i.e. if the command is
present in the package debhelper log). For example, if you
need to call the command with special options only for a
couple of binary packages, pass this option to the last call
of the command to process the rest of packages with default
settings.
-P
tmpdir, --tmpdir=
tmpdir
Use tmpdir for package build directory. The default is
debian/package
--mainpackage=
package
This little-used option changes the package which debhelper
considers the "main package", that is, the first one listed
in debian/control, and the one for which debian/foo files can
be used instead of the usual debian/package.foo files.
-O=
option|bundle
This is used by dh(1) when passing user-specified options to
all the commands it runs. If the command supports the
specified option or option bundle, it will take effect. If
the command does not support the option (or any part of an
option bundle), it will be ignored.