5 dh_testdir - test directory before building Debian package
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_testdir> [S<I<debhelper options>>] [S<I<file> ...>]
18 B<dh_testdir> tries to make sure that you are in the correct directory when
19 building a Debian package. It makes sure that the file F<debian/control>
20 exists, as well as any other files you specify. If not,
21 it exits with an error.
29 Test for the existence of these files too.
38 foreach my $file ('debian/control', @ARGV) {
40 error("\"$file\" not found. Are you sure you are in the correct directory?");
48 This program is a part of debhelper.
52 Joey Hess <joeyh@debian.org>