diff options
author | joey <joey> | 2004-02-09 05:24:40 +0000 |
---|---|---|
committer | joey <joey> | 2004-02-09 05:24:40 +0000 |
commit | 4f162e192c3563d740490cc99ced1513104ac34c (patch) | |
tree | b521746cbacfde4afc5af4031b767d1f87101a83 /dh_gencontrol | |
parent | ad3f34f9653fe848816f2af915b9cdd260fc4421 (diff) |
r1655: * Added udeb support, as pioneered by di-packages-build. Understands
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for
details.
* Dh_Lib: add and export is_udeb and udeb_filename
* dh_builddeb: name udebs with proper extension
* dh_gencontrol: pass -n and filename to dpkg-gencontrol
* dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs,
dh_installexamples, dh_installman, dh_installmanpages: skip udebs
* dh_shlibdeps: skip udebs. This may be temporary.
* dh_installdeb: do not process conffiles, shlibs, preinsts, postrms,
or prerms for udebs. Do not substiture #DEBHELPER# tokens in
postinst scripts for udebs.
* dh_installdebconf: skip config script for udebs, still do templates
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-x | dh_gencontrol | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_gencontrol b/dh_gencontrol index b9aaefb4..7614fa69 100755 --- a/dh_gencontrol +++ b/dh_gencontrol @@ -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}}); |