=head1 NAME
-dh_testdir - test directory before building debian package
+dh_testdir - test directory before building Debian package
=cut
=head1 SYNOPSIS
-B<dh_testdir> [S<I<debhelper options>>] [S<I<file ...>]
+B<dh_testdir> [S<I<debhelper options>>] [S<I<file> ...>]
=head1 DESCRIPTION
-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
+B<dh_testdir> tries to make sure that you are in the correct directory when
+building a Debian package. It makes sure that the file F<debian/control>
exists, as well as any other files you specify. If not,
it exits with an error.
=over 4
-=item I<file ...>
+=item I<file> ...
Test for the existence of these files too.
=cut
init();
+inhibit_log();
foreach my $file ('debian/control', @ARGV) {
if (! -e $file) {
=head1 SEE ALSO
-L<debhelper(1)>
+L<debhelper(7)>
This program is a part of debhelper.