]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_gencontrol
r2008: * dh_gencontrol: Fix man page typo. Closes: #431232
[debhelper.git] / dh_gencontrol
index 941c9a8c71cbfaa9bee59cd894faa3e8ac3d1474..1489b2533c857af2f04ab2323a6d3e4b3760f650 100755 (executable)
@@ -27,7 +27,7 @@ useful flags including "-isp".
 
 =over 4
 
-=item B<-u>I<params>, B<--dpkg-gencontrol-params>I<params>
+=item B<-u>I<params>, B<--dpkg-gencontrol-params>=I<params>
 
 =item B<--> I<params>
 
@@ -54,9 +54,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # Generate and install control file.
        my @command="dpkg-gencontrol";
-       if (GetPackages() > 1) {
+       if (getpackages() > 1) {
                push @command, "-p$package";
        }
+       if (is_udeb($package)) {
+               push @command, "-n".udeb_filename($package);
+       }
        doit(@command, "-l$changelog", "-isp", "-Tdebian/${ext}substvars", 
                "-P$tmp",@{$dh{U_PARAMS}});
 
@@ -64,12 +67,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # something odd.
        doit("chmod","644","$tmp/DEBIAN/control");
        
-       doit("chown","0.0","$tmp/DEBIAN/control");
+       doit("chown","0:0","$tmp/DEBIAN/control");
 }
 
 =head1 SEE ALSO
 
-L<debhelper(1)>
+L<debhelper(7)>
 
 This program is a part of debhelper.