On Mon, Feb 11, 2013 at 04:29:21PM +0400, Игорь Пашев wrote:
> 2013/2/11 Kartik Mistry <kartik.mis...@gmail.com>:
> > On Mon, Feb 11, 2013 at 4:48 PM, Игорь Пашев <pashev.i...@gmail.com> wrote:
> >> Is there any handy way to "link" manpages? That is I could just write
> >> "`bar` is described in `foo`". I know about .so, but looks urgly because
> >> debhelper finally replaces it with symlink :-)
> >
> > dh_link will do.
> >
> > For example: dh_link usr/share/man/man1/ayttm.1.gz
> > usr/share/man/man1/ayttm_streamer_wrapper.1.gz
> 
> Yeah, that's what I do, but my problem is that I have to know final file name,
> e. i. take care of section and compression.

You don't need to take care of compression.  dh_compress is
conventionally run after dh_link, and it knows how to fix up symlinks;
so, in the above example, this is enough:

  dh_link usr/share/man/man1/ayttm.1 usr/share/man/man1/ayttm_streamer_wrapper.1

-- 
Colin Watson                                       [cjwat...@debian.org]


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130212175325.gb...@riva.dynamic.greenend.org.uk

Reply via email to