DOKK / manpages / debian 10 / debhelper / dh_installdirs.1.en
DH_INSTALLDIRS(1) Debhelper DH_INSTALLDIRS(1)

dh_installdirs - create subdirectories in package build directories

dh_installdirs [debhelper options] [-A] [--sourcedir=dir] [--create-in-sourcedir] [dir ...]

dh_installdirs is a debhelper program that is responsible for creating subdirectories in package build directories.

Many packages can get away with omitting the call to dh_installdirs completely. Notably, other dh_* commands are expected to create directories as needed.

Lists directories to be created in package.

Generally, there is no need to list directories created by the upstream build system or directories needed by other debhelper commands.

Create any directories specified by command line parameters in ALL packages acted on, not just the first.
Whether to create the specified directories in the source directory (usually debian/tmp) in addition to in the package build directory (usually debian/package).

The default is --no-create-in-sourcedir.

Consider dir the source directory for the packages acted on instead of the default (which is usually debian/tmp).

Please note that this option is dependent on the --create-in-sourcedir option (when --no-create-in-sourcedir is in effect, this option does nothing in dh_installdirs).

Create these directories in the package build directory of the first package acted on. (Or in all packages if -A is specified.)

debhelper(7)

This program is a part of debhelper.

Joey Hess <joeyh@debian.org>

2019-02-23 12.1.1