DH_AUTO_BUILD(1)

πŸ’– NAME πŸ’–

dh_auto_build β€” the girl who literally builds ur package for you, automatically, no thoughts head empty


✨ SYNOPSIS ✨

dh_auto_build [build system options] [debhelper options] [-- params]

πŸ› οΈ DESCRIPTION πŸ› οΈ

okay so bestie, dh_auto_build is a debhelper program and its whole thing is that it tries to automatically build a package for you. how? it snoops around, figures out which build system ur package is using, and runs the appropriate command for that one. iconic detective behavior fr fr.

some examples so you get the vibe:

  • if it finds a Makefile, it just runs make (or MAKE, if that environment variable is set β€” she respects the env, periodt)
  • if there's a setup.py, or a Build.PL, she runs that to build the package

this is designed to work for like 90% of packages. and honestly? that's a slay. but if it doesn't work for urs, you are encouraged to just skip dh_auto_build entirely and run the build process manually. no shame in doing it urself, main character energy either way πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • peep <pc>"BUILD SYSTEM OPTIONS" in debhelper(7)</pc> for the list of common build system selection and control options. she's got range, go read it.
  • -- params β€” passes params along to the program that gets run, and they go after the parameters that dh_auto_build usually passes. so like, extra args, tacked on at the end. 🫢

πŸ‘€ SEE ALSO πŸ‘€

this program is a part of debhelper. one of the gang, lowkey inseparable πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <joeyh@debian.org> β€” the legend herself (well, himself, but the legend regardless) πŸŽ€


ok that's the whole page, bestie! go build something cute ✨

🌸 muah πŸ’‹ this was debhelper version 14.5ubuntu1, dated 2026-09-21, and DH_AUTO_BUILD(1) is signing off β€” stay slay, run ur build, hydrate πŸ’–πŸ¦‹

πŸ“¦ where this page comes from