dh_installdirs(1)

dh_installdirs1

Create subdirectories in package build directories

Usage

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

Overview

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.

Files

debian/package.dirs

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.

Supports substitution variables in compat 13 and later as documented in debhelper(7).

Options

-A, --all

Create any directories specified by command line parameters in ALL packages acted on, not just the first.

--create-in-sourcedir, --no-create-in-sourcedir

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.

--sourcedir=dir

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).

dir ...

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

Releases

15 releases since Debian 2.0 (Hamm); the text changed 14 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 3.1
  6. 4.0
  7. 5.0
  8. 6.0
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13

--create-in-sourcedir since Debian 10 (Buster); --no-create-in-sourcedir since Debian 10 (Buster); --sourcedir since Debian 10 (Buster).

--arch until Debian 2.0 (Hamm); --indep until Debian 2.0 (Hamm); --no-act until Debian 2.0 (Hamm); --package until Debian 2.0 (Hamm); --tmpdir until Debian 2.0 (Hamm); --verbose until Debian 2.0 (Hamm); -Ptmpdir until Debian 2.0 (Hamm); -a until Debian 2.0 (Hamm); -i until Debian 2.0 (Hamm); -ppackage until Debian 2.0 (Hamm); -v until Debian 2.0 (Hamm).

Author

Joey Hess <[email protected]>

From debhelper 13.24.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.