dh_testdir − test directory before building debian package
dh_testdir [debhelperoptions] [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.
This program is a part of debhelper.
Joey Hess <email@example.com>