path: root/Debian/Debhelper
diff options
authorjoey <joey>2000-11-27 03:56:52 +0000
committerjoey <joey>2000-11-27 03:56:52 +0000
commitdffd90e48bd1c4bb45cf42b6394478a7d2590b5a (patch)
treec8fa58d435b7fe86b0dd45846e0fed84e7101161 /Debian/Debhelper
parent63f01a93ebb8f4d8be40d10f7075e8a69567911d (diff)
r392: * DH_COMPAT=3 now enables the following new features which I can't just
turn on by default for fear of breaking backwards compatability: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi <> (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead.
Diffstat (limited to 'Debian/Debhelper')
2 files changed, 2 insertions, 3 deletions
diff --git a/Debian/Debhelper/ b/Debian/Debhelper/
index 02045bb..18157bf 100644
--- a/Debian/Debhelper/
+++ b/Debian/Debhelper/
@@ -126,7 +126,6 @@ sub parseopts {
"filename=s" => \$options{FILENAME},
- "number=i" => \$options{PRIORITY}, # deprecated
"priority=i" => \$options{PRIORITY},
"flavor=s" => \$options{FLAVOR},
diff --git a/Debian/Debhelper/ b/Debian/Debhelper/
index e71895e..8287734 100644
--- a/Debian/Debhelper/
+++ b/Debian/Debhelper/
@@ -190,7 +190,7 @@ sub dirname { my $fn=shift;
# Pass in a number, will return true iff the current compatability level
-# is equal to that number.
+# is less than or equal to that number.
sub compat {
my $num=shift;
@@ -203,7 +203,7 @@ sub compat {
error("Sorry, but $max_compat is the highest compatability level of debhelper currently supported.");
- return ($c == $num);
+ return ($c <= $num);
# Pass it a name of a binary package, it returns the name of the tmp dir to