summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
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 8487f10..1a5750b 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";
}