[gentoo-dev] Links to compressed files (was: gentoo-x86 commit in app-misc/mmv: ChangeLog mmv-1.01b_p15.ebuild)
src_install() { doman mmv.1 || die dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mln.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mad.1.gz || die How does this work with various package managers? Portage works fine with different PORTAGE_COMPRESS settings. I guess paludis creates uncompressed man-pages and has three broken links? And pkgcore? Is there a reliable/predictable way to create such links?
Re: [gentoo-dev] Links to compressed files (was: gentoo-x86 commit in app-misc/mmv: ChangeLog mmv-1.01b_p15.ebuild)
On Wed, 26 May 2010, Torsten Veller wrote: dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mln.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mad.1.gz || die Is there a reliable/predictable way to create such links? Don't use a symlink, but create a short file with a groff .so request. See for example the egrep.1 man page, that just contains the one line: .so man1/grep.1 Ulrich
Re: [gentoo-dev] Links to compressed files (was: gentoo-x86 commit in app-misc/mmv: ChangeLog mmv-1.01b_p15.ebuild)
On Wednesday 26 May 2010 04:01:28 Ulrich Mueller wrote: On Wed, 26 May 2010, Torsten Veller wrote: dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mln.1.gz || die dosym mmv.1.gz /usr/share/man/man1/mad.1.gz || die Is there a reliable/predictable way to create such links? Don't use a symlink, but create a short file with a groff .so request. See for example the egrep.1 man page, that just contains the one line: .so man1/grep.1 wonder if this would be a useful repoman check recommendation. dare i grep the tree to find all the existing miscreants ... personally i prefer '.so grep.1' to avoid the redundancy ... -mike signature.asc Description: This is a digitally signed message part.