summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-17 20:10:00 -0400
committerJoey Hess <joey@kitenet.net>2010-05-17 20:10:00 -0400
commit814bf395f73c5ad0f709b65765fac365c8f7520a (patch)
tree5f9154baea7f4a412fe3687d10904512e3eb36cf /dh_installman
parent4bd44ea029f5f4f2db04d1cdde60ea7e8361456a (diff)
dh_installman: Support .so links relative to the current section.
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman5
1 files changed, 4 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman
index 8487f100..1a5750b8 100755
--- a/dh_installman
+++ b/dh_installman
@@ -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";
}