DH_TESTDIR(1)

πŸ’… DH_TESTDIR πŸ’…

okay bestie, so this is dh_testdir from the debhelper squad, and honestly? it's the vibe check for your build directory. let's get into it 🫢


✨ NAME ✨

dh_testdir β€” test directory before building Debian package

like... it's the lil bouncer at the door of your Debian package build. no valid directory? no entry, hun πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

dh_testdir [debhelper options] [file ...]

🌸 DESCRIPTION 🌸

so here's the tea β˜• dh_testdir tries to make sure that you are in the correct directory when building a Debian package. it's giving "are you sure you're in the right place, babes?"

it makes sure that the file debian/control exists, as well as any other files you specify. like, it literally checks. and if they're not there? it exits with an error 😭 no cap, it will just leave. dramatic? maybe. correct? absolutely periodt.


πŸŽ€ OPTIONS πŸŽ€

  • file ... β€” test for the existence of these files too. yep, you can hand it extra files to vibe check alongside debian/control. the more the merrier, bestie ✨

πŸ‘‘ SEE ALSO πŸ‘‘

also!! this program is a part of debhelper. so it's not out here alone, it's got its whole family 🫢


πŸ’œ AUTHOR πŸ’œ

Joey Hess <joeyh@debian.org>

give it up for the icon who wrote this πŸ‘πŸ‘πŸ‘


and that's the whole thing bestie!! this page is from debhelper version 14.5ubuntu1, dated 2026-09-21 πŸŽ€ go forth and build ur packages in the right directory, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from