X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_builddeb;h=3477f25765d2693107ab74d87bf4b9a79bf04e6e;hb=4c8f8cd25e912508731e3494d3ee303bccf0001e;hp=466b248bf82b58ad9d989409e7e586b61541bd2e;hpb=26f1964c1dec6991f12ef19cde2974bc6abdbb18;p=debhelper.git diff --git a/dh_builddeb b/dh_builddeb index 466b248..3477f25 100755 --- a/dh_builddeb +++ b/dh_builddeb @@ -15,7 +15,7 @@ B [S>] [B<--destdir=>I] [B<--filena =head1 DESCRIPTION -dh_builddeb simply calls L to build a debian package or +dh_builddeb simply calls L 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 - =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}) { @@ -64,7 +70,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});