X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_builddeb;h=b15c943669c82c4f030969d71fdb765c9b1ae15d;hb=9690e09731efe60f09d5d152be1d96b36ec4f607;hp=8c3930fb7c5dd4f7b8c2cac5a3f06b8b21617f75;hpb=a882ba83571226997e9583f40a232da4dc468956;p=debhelper.git diff --git a/dh_builddeb b/dh_builddeb index 8c3930f..b15c943 100755 --- a/dh_builddeb +++ b/dh_builddeb @@ -2,7 +2,7 @@ =head1 NAME -dh_builddeb - build debian binary packages +dh_builddeb - build Debian binary packages =cut @@ -15,7 +15,7 @@ B [S>] [B<--destdir=>I] [B<--filena =head1 DESCRIPTION -dh_builddeb simply calls L to build a debian package or +B simply calls L to build a Debian package or packages. =head1 OPTIONS @@ -24,26 +24,32 @@ packages. =item B<--destdir=>I -Use this if you want the generated .deb files to be put in a directory -other than the default of ".." +Use this if you want the generated F<.deb> files to be put in a directory +other than the default of "F<..>". =item B<--filename=>I 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 - =item B<--> I Pass I to L when it is used to build the package. +=item B<-u>I + +This is another way to pass I to L. +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}) {