Re: using symlinks for manpages
Justin Pryzby <email@example.com> wrote:
> In fact, I believe all symlinks should be relative, except top-level
> symlinks. And packages probably shouldn't ship any of those:)
Not exactly. cf. Policy § 10.5:
| In general, symbolic links within a top-level directory should be
| relative, and symbolic links pointing from one top-level directory into
| another should be absolute. (A top-level directory is a sub-directory of
| the root directory /.)
| In addition, symbolic links should be specified as short as possible,
| i.e., link targets like foo/../bar are deprecated.
dh_link does the right thing.