]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_installman: Support .so links relative to the current section.
authorJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 00:10:00 +0000 (20:10 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 00:10:00 +0000 (20:10 -0400)
debian/changelog
dh_installman

index 53445c5d7c9fa3cd16c0926119c28f27f92a75c2..594ef7c8107db9b3511c2816ceadff87ae612be5 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (7.4.21) UNRELEASED; urgency=low
+
+  * dh_installman: Support .so links relative to the current section.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 17 May 2010 20:01:19 -0400
+
 debhelper (7.4.20) unstable; urgency=low
 
   * Drop one more call to dpkg-architecture. Closes: #580837
index 8487f100776f295861148a84a8418a8e8f00c77d..1a5750b86a16f6ad7b7cdb7ca231fbc16f095765 100755 (executable)
@@ -241,7 +241,10 @@ sub find_so_man {
                    dirname($solink)) {
                        $solink=basename($solink);
                }
-               else {
+               # A so link with a path is relative to the base of the man
+               # page hierarchy, but without a path, is relative to the
+               # current section.
+               elsif ($solink =~ m!/!) {
                        $solink="../$solink";
                }