]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_gencontrol
r496: * Man page cleanups, Closes: #119335
[debhelper.git] / dh_gencontrol
index bb39780cb4dd3369dddf0ba0de4f6b5cf74c511f..fcb91845a6957e8caf64c6ad6c651db7346e0349 100755 (executable)
@@ -11,7 +11,7 @@ use Debian::Debhelper::Dh_Lib;
 
 =head1 SYNOPSIS
 
-  dh_gencontrol [debhelper options] [-uparams] [-- params]
+B<dh_gencontrol> [S<I<debhelper options>>] [S<B<--> I<params>>]
 
 =head1 DESCRIPTION
 
@@ -21,7 +21,7 @@ proper permissions.
 
 This program is merely a wrapper around L<dpkg-gencontrol(1)>, which calls
 it once for each package being acted on, and passes in some additional
-useful flags including "-isp".
+useful flags including "-isp". 
 
 =head1 OPTIONS
 
@@ -52,12 +52,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN");
        }
 
-       # Generate and install control file. Use complex_doit to allow for
-       # wild and wonderful U_PARAMS quoting.
+       # Generate and install control file.
        doit("dpkg-gencontrol","-l$changelog","-isp","-p$package",
-                    "-Tdebian/${ext}substvars","-P$tmp",@{$dh{U_PARAMS}});
+                    "-Tdebian/${ext}substvars", "-P$tmp",@{$dh{U_PARAMS}});
 
-       # This chmod is only necessary if the user sets the umask to something odd.
+       # This chmod is only necessary if the user sets the umask to
+       # something odd.
        doit("chmod","644","$tmp/DEBIAN/control");
        
        doit("chown","0.0","$tmp/DEBIAN/control");