DH_INSTALLMANPAGES(1)
π DH_INSTALLMANPAGES(1) β the Debhelper girlies know π
okay so bestie, welcome to dh_installmanpages, straight out of the Debhelper manual section 1. grab a lil matcha, we're doing deprecated-program lore today β¨
πΈ NAME πΈ
dh_installmanpages β the old-style man page installer (and yeah, she's deprecated, we'll get to that π)
β¨ SYNOPSIS β¨
dh_installmanpages [debhelper options] [file ...]
like literally that's it, that's the whole vibe π
π¦ DESCRIPTION π¦
okay so dh_installmanpages is a debhelper program, and her whole job β her main character purpose β is auto-installing man pages into usr/share/man/ inside your package build directories. she just does it. no notes. π
she is a DWIM-style program, which means her interface is lowkey unlike literally every other debhelper program out there. and here's the part where I hold your hand: she is deprecated. you are encouraged to use dh_installman(1) instead, fr fr. that's the upgrade path, bestie, take it π«Ά
so what does she actually do? she scans the current directory and all the subdirectories for filenames that look like man pages. important note though β only real files get looked at; symlinks are ignored, she's not falling for that π then she runs file(1) on them to verify they're in the correct format. and then, based on the files' extensions, she installs them into the correct man directory. multi-step queen π
now β all filenames you specify as parameters? she skips those. all of them. which is actually so useful if by default she installs some man pages that you Do Not Want. like, not today, thank you π
and after the whole man page installation step is done, she does one last little check: if any of the man pages are .so links, she changes them into symlinks. cute, efficient, iconic. β
π OPTIONS π
file ...β do not install these files as man pages, even if they look like valid man pages. like she sees them, she respects them, but she's not installing them. periodt π
π BUGS π
okay here's where we have to be real with each other:
dh_installmanpageswill install the man pages it finds into all packages you tell it to act on, because she genuinely can't tell what package the man pages belong in. and like... this is almost never what you really want. (use-pto work around this, or β and I cannot stress this enough β use the much betterdh_installman(1)program instead π)- files ending in
.manwill be ignored. just straight up ignored. no cap. - files specified as parameters that contain spaces in their filenames will not be processed properly. so... don't do that π«
bestie warning: this whole program is deprecated, the package-detection thing is genuinely broken-by-design, and the space thing is a real bug. dh_installman(1) is the glow-up. you deserve better π
π SEE ALSO π
this program is a part of debhelper. one big happy family π§
π AUTHOR π
Joey Hess <joeyh@debian.org> β the legend herself π
and that's the whole page, bestie!! this beauty is from debhelper version 14.5ubuntu1, dated 2026-09-21 β so you know she's β¨freshβ¨. now go use dh_installman(1) instead, I'm literally begging you, mwah ππΈπ
π¦ 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