]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_builddeb
Fix build system auto-selection breakage.
[debhelper.git] / dh_builddeb
index 8c3930fb7c5dd4f7b8c2cac5a3f06b8b21617f75..3477f25765d2693107ab74d87bf4b9a79bf04e6e 100755 (executable)
@@ -15,7 +15,7 @@ B<dh_builddeb> [S<I<debhelper options>>] [B<--destdir=>I<directory>] [B<--filena
 
 =head1 DESCRIPTION
 
-dh_builddeb simply calls L<dpkg-deb(8)> to build a debian package or
+dh_builddeb simply calls L<dpkg-deb(1)> to build a debian package or
 packages.
 
 =head1 OPTIONS
@@ -32,18 +32,24 @@ other than the default of ".."
 Use this if you want to force the generated .deb file to have a particular
 file name. Does not work well if more than one .deb is generated!
 
-=item B<-u>I<params>
-
 =item B<--> I<params>
 
 Pass I<params> to L<dpkg-deb(1)> when it is used to build the
 package.
 
+=item B<-u>I<params>
+
+This is another way to pass I<params> to L<dpkg-deb(1)>.
+It is deprecated; use B<--> instead.
+
 =back
 
 =cut
 
-init();
+init(options => {
+       "filename=s" => \$dh{FILENAME},
+       "destdir=s" => \$dh{DESTDIR},
+});
 
 # Set the default destination directory.
 if (! defined $dh{DESTDIR}) {