DOKK / manpages / debian 11 / debhelper / dh_testdir.1.en
DH_TESTDIR(1) Debhelper DH_TESTDIR(1)

dh_testdir - test directory before building Debian package

dh_testdir [debhelper options] [file ...]

dh_testdir tries to make sure that you are in the correct directory when building a Debian package. It makes sure that the file debian/control exists, as well as any other files you specify. If not, it exits with an error.

Test for the existence of these files too.

debhelper(7)

This program is a part of debhelper.

Joey Hess <joeyh@debian.org>

2021-03-06 13.3.4