X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_gencontrol;h=32b85637f5f066d10d8d2b735a7fde841dca701b;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=268ab3a01c564d2507579d09661f64333410b0f8;hpb=ec666dc94becbdb665a12c1d741a1358cfde6338;p=debhelper.git diff --git a/dh_gencontrol b/dh_gencontrol index 268ab3a..32b8563 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -15,8 +15,8 @@ B [S>] [S I>] =head1 DESCRIPTION -dh_gencontrol is a debhelper program that is responsible for generating -control files, and installing them into the DEBIAN directory with the +B is a debhelper program that is responsible for generating +control files, and installing them into the I directory with the proper permissions. This program is merely a wrapper around L, which calls @@ -27,17 +27,22 @@ useful flags. =over 4 -=item B<-u>I, B<--dpkg-gencontrol-params>=I - =item B<--> I -Pass "params" to L. +Pass I to L. + +=item B<-u>I, B<--dpkg-gencontrol-params=>I + +This is another way to pass I to L. +It is deprecated; use B<--> instead. =back =cut -init(); +init(options => { + "dpkg-gencontrol-params=s", => \$dh{U_PARAMS}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); @@ -64,10 +69,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (getpackages() > 1) { push @command, "-p$package"; } - if (is_udeb($package)) { - push @command, "-UHomepage"; - push @command, "-n".udeb_filename($package); - } doit(@command, "-l$changelog", "-T$substvars", "-P$tmp",@{$dh{U_PARAMS}});