1DH_INSTALLDIRS(1) Debhelper DH_INSTALLDIRS(1)
2
3
4
6 dh_installdirs - create subdirectories in package build directories
7
9 dh_installdirs [debhelper options] [-A] [--sourcedir=dir]
10 [--create-in-sourcedir] [dir ...]
11
13 dh_installdirs is a debhelper program that is responsible for creating
14 subdirectories in package build directories.
15
16 Many packages can get away with omitting the call to dh_installdirs
17 completely. Notably, other dh_* commands are expected to create
18 directories as needed.
19
21 debian/package.dirs
22 Lists directories to be created in package.
23
24 Generally, there is no need to list directories created by the
25 upstream build system or directories needed by other debhelper
26 commands.
27
28 Supports substitution variables in compat 13 and later as
29 documented in debhelper(7).
30
32 -A, --all
33 Create any directories specified by command line parameters in ALL
34 packages acted on, not just the first.
35
36 --create-in-sourcedir, --no-create-in-sourcedir
37 Whether to create the specified directories in the source directory
38 (usually debian/tmp) in addition to in the package build directory
39 (usually debian/package).
40
41 The default is --no-create-in-sourcedir.
42
43 --sourcedir=dir
44 Consider dir the source directory for the packages acted on instead
45 of the default (which is usually debian/tmp).
46
47 Please note that this option is dependent on the
48 --create-in-sourcedir option (when --no-create-in-sourcedir is in
49 effect, this option does nothing in dh_installdirs).
50
51 dir ...
52 Create these directories in the package build directory of the
53 first package acted on. (Or in all packages if -A is specified.)
54
56 debhelper(7)
57
58 This program is a part of debhelper.
59
61 Joey Hess <joeyh@debian.org>
62
63
64
6513.5.2 2021-11-02 DH_INSTALLDIRS(1)