DH_INSTALLDIRS(1)
β¨ DH_INSTALLDIRS(1) β¨
okay bestie, so this is dh_installdirs β it lives in the Debhelper fam and honestly? it's the girl who shows up early and makes sure the room is set up before the party. she makes subdirectories in package build directories. that's the whole job. she ate and left no crumbs π«Ά
πΈ SYNOPSIS πΈ
dh_installdirs [debhelper options] [-A] [--sourcedir=dir]
[--create-in-sourcedir] [dir ...]
π DESCRIPTION π
so dh_installdirs is a debhelper program, and her whole thing β her entire main character moment β is creating subdirectories in package build directories. that's it. that's the assignment. π
but here's the gag: lots of packages can literally just not call her at all and be totally fine. no cap. the other dh_* commands are expected to create directories as needed on their own, so if you skip her, she's not gonna text you about it. it's giving low maintenance. β¨
π FILES π
debian/package.dirsβ this file lists directories to be created in package. like, a little to-do list of vibes to manifest.
ngl, generally there's no need to list directories created by the upstream build system, or directories that other debhelper commands already need. she's not trying to do somebody else's homework bestie. π
also!! it supports substitution variables in compat 13 and later, as documented in debhelper(7). so if you're on compat 13+, slay, go off. π
β OPTIONS β
-A,--allβ create any directories specified by command line parameters in ALL packages acted on, not just the first. yes queen, we're doing this for everyone, not just the favorite child. π--create-in-sourcedir,--no-create-in-sourcedirβ whether to create the specified directories in the source directory (usuallydebian/tmp) in addition to in the package build directory (usuallydebian/package). two locations, double the slay. β¨
the default is --no-create-in-sourcedir.
--sourcedir=dirβ treatdiras the source directory for the packages acted on instead of the default (which is usuallydebian/tmp). you're picking a different hangout spot, iconic.
okay important bestie: this option is dependent on the--create-in-sourcediroption. when--no-create-in-sourcediris in effect, this option does nothing indh_installdirs. literally nothing. she will ignore you. π
dir ...β create these directories in the package build directory of the first package acted on. (or in ALL of the packages if-Ais specified.) the first one gets the gift unless you say-A, iykyk. π
π₯ SEE ALSO π₯
this program is a part of debhelper. π§
π AUTHOR π
Joey Hess <joeyh@debian.org> β the legend, the blueprint, the original. π
and that's the whole page babes π this little number is from debhelper version 14.5ubuntu1, dated 2026-09-21. drink some water, go create a directory, and remember: she's just a program and she loves you. periodt. ππ¦πΈβπ
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms