Re: Multiple Binary and man pages
Sven LUTHER <firstname.lastname@example.org> writes:
> On Sun, Sep 08, 2002 at 08:21:09PM -0400, Joey Hess wrote:
> > Provided your packages conflict, you can make two files,
> > debian/server.conf.5 and debian/server-enhanced.conf.5. Make the latter
> > have the same .TH line at the top as does the former, something like
> > this:
> > .TH SERVER.CONF 5
> > And make dh_installman install one into one package, one into the other.
> > It will take care of naming them based on the .TH line, so the file
> > names used in your source package really don't matter.
> Saddly, the current way dh_installmanpages handle this is broken (well i
> was told it would be fixed post woody release) and it does not really
> work (the symlink is to the original name, not the gzipped one).
> I create the symlink by hand in a postinst.
Why not make the symlink it in debian/rules in the binary-(all|arch)
rule and package it? If the packages will conflict, there won't be
any problems, and it makes the postinst/prerm cleaner.
** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848 available on public keyservers