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 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 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.
37 foreach my $file ('debian/control', @ARGV) {
39 error("\"$file\" not found. Are you sure you are in the correct directory?");
47 This program is a part of debhelper.
51 Joey Hess <joeyh@debian.org>