--- man/dpkg-buildpackage.1 | 4 ++++ scripts/dpkg-buildpackage.pl | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/man/dpkg-buildpackage.1 b/man/dpkg-buildpackage.1 index 2a84119..c2f9cc3 100644 --- a/man/dpkg-buildpackage.1 +++ b/man/dpkg-buildpackage.1 @@ -186,6 +186,10 @@ Passed unchanged to Passed unchanged to .BR dpkg\-source . .TP +.BI \-\-checksum= program +Passed unchanged to +.BR dpkg\-genchanges . +.TP .BI \-\-admindir= dir Change the location of the \fBdpkg\fR database. The default location is \fI/var/lib/dpkg\fP. diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 9ff387c..abd65e8 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -59,6 +59,8 @@ Options: -si (default) src includes orig for rev. 0 or 1. } -sa uploaded src always includes orig. } -sd uploaded src is diff and .dsc only. } + --checksum=<program> } + program to use to generate checksums. } -sn force Debian native source format. } -s[sAkurKUR] see dpkg-source for explanation. } only passed -z<level> compression level of source } to dpkg-source @@ -99,7 +101,7 @@ my ($admindir, $signkey, $forcesigninterface, $usepause, $noclean, $sourcestyle, $cleansource, $binaryonly, $sourceonly, $since, $maint, $changedby, $desc, $parallel); -my (@checkbuilddep_args, @passopts, @tarignore); +my (@checkbuilddep_args, @passopts, @change_opts, @tarignore); my $checkbuilddep = 1; my $signsource = 1; my $signchanges = 1; @@ -145,6 +147,9 @@ while (@ARGV) { push @passopts, $_; # passed to dpkg-source } elsif (/^-[zZ]/) { push @passopts, $_; # passed to dpkg-source + } elsif (/^--checksum/) { +# push @passopts, $_; # NOT yet passed to dpkg-source + push @change_opts, $_; # BUT passed to dpkg-genchanges } elsif (/^-i.*$/) { $diffignore = $_; } elsif (/^-I.*$/) { @@ -391,8 +396,6 @@ unless ($binaryonly) { } } -my @change_opts; - if ($binaryonly) { push @change_opts, $binaryonly } if ($sourceonly) { push @change_opts, $sourceonly } if ($sourcestyle) { push @change_opts, $sourcestyle } -- 1.5.3.8 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]