diff options
author | joey <joey> | 2001-01-25 02:04:03 +0000 |
---|---|---|
committer | joey <joey> | 2001-01-25 02:04:03 +0000 |
commit | 8da1a397c64f933ae536be136aaab99f6105ab71 (patch) | |
tree | 6f571ebc1f37fce9e0040bd2c1394f48d78d3b2e /dh_gencontrol | |
parent | f4f52f07ec3f5cebdd6d3bc6893f7025bad4d68f (diff) |
r410: * Added the ability to make debhelper read a different file than
debian/control as the control file. This is very useful for various and
sundry things, all Evil, most involving kernel packages.
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-x | dh_gencontrol | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_gencontrol b/dh_gencontrol index 15e08203..0c03dfce 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -19,8 +19,9 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { } # Generate and install control file. - doit("dpkg-gencontrol","-l$changelog","-isp","-p$PACKAGE", - "-Tdebian/${EXT}substvars","-P$TMP",@{$dh{U_PARAMS}}); + doit("dpkg-gencontrol","-c".Debian::Debhelper::Dh_Lib::getcontrol(), + "-l$changelog","-isp","-p$PACKAGE","-Tdebian/${EXT}substvars", + "-P$TMP",@{$dh{U_PARAMS}}); # This chmod is only necessary if the user sets the umask to something odd. doit("chmod","644","$TMP/DEBIAN/control"); |