]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_builddeb
Merge branch 'master' into buildsystems
[debhelper.git] / dh_builddeb
index dcc5af56832283d19ca77270d9b7bc7b24894cb7..45713fd946a64af09c61e78914b1ddbcad4edde4 100755 (executable)
@@ -2,7 +2,7 @@
 
 =head1 NAME
 
-dh_builddeb - build debian packages
+dh_builddeb - build debian binary packages
 
 =cut
 
@@ -43,7 +43,10 @@ package.
 
 =cut
 
-init();
+init(options => {
+       "filename=s" => \$dh{FILENAME},
+       "destdir=s" => \$dh{DESTDIR},
+});
 
 # Set the default destination directory.
 if (! defined $dh{DESTDIR}) {
@@ -64,7 +67,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        complex_doit("find $tmp $dh{EXCLUDE_FIND} | xargs rm -rf");
                }
                else {
-                       # Old broken code here for compatability. Does not
+                       # Old broken code here for compatibility. Does not
                        # remove everything.
                        complex_doit("find $tmp -name $_ | xargs rm -rf")
                                foreach split(":", $ENV{DH_ALWAYS_EXCLUDE});