DH_INSTALLINFO(1)

πŸ’– DH_INSTALLINFO(1) πŸ’–

okay bestie, so this one lives in the Debhelper manual, and it's genuinely one of the lowkey cutest little helpers in the whole debhelper friend group. no cap.

✨ NAME ✨

dh_installinfo β€” install info files πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

dh_installinfo [debhelper options] [-A] [file ...]

🌸 DESCRIPTION 🌸

so dh_installinfo is a debhelper program, and its whole entire job β€” its main character purpose, if you will β€” is installing info files into usr/share/info in the package build directory. that's it. that's the vibe. 🫢

and here's a glow-up you need to know about: from debhelper compatibility level 11 on, dh_install will fall back to looking in debian/tmp for files, if it does not find them in the current directory (or wherever you've told it to look using --sourcedir). literally so convenient.


πŸ’… FILES πŸ’…

  • debian/package.info β€” this is your list of info files to be installed. write them down, bestie. ✨

it supports substitution variables in compat 13 and later, as documented in debhelper(7). so fancy. 😌


πŸ‘‘ OPTIONS πŸ‘‘

  • -A, --all β€” install all files specified by command line parameters in ALL packages acted on. every single one. no favorites. πŸ’–
  • --sourcedir=dir β€” look in the specified directory for files to be installed. this option requires compat 11 or later (it is silently ignored in compat 10 or earlier, so don't come crying to it, it will just pretend you never spoke πŸ™ˆ).
heads up bestie: this is not the same as the --sourcedirectory option used by the dh_auto_* commands. different name, different thing, do not mix them up. you rarely need to use this option anyway, since dh_installinfo automatically looks for files in debian/tmp in debhelper compatibility level 11 and above. it's giving self-sufficient. πŸ’…
  • file ... β€” install these info files into the first package acted on. (or in all packages if -A is specified). so like, choose your fighter: one package, or the whole squad. 🌈

🌟 SEE ALSO 🌟

this program is a part of debhelper. πŸŽ€


πŸ’œ AUTHOR πŸ’œ

Joey Hess <joeyh@debian.org> β€” icon, legend, the moment. πŸ‘‘


and that's the whole page, babe! this was 14.5ubuntu1, dated 2026-09-21. mwah, go install some info files, you absolute star β­πŸ¦‹πŸ’–

πŸ“¦ where this page comes from