On 05/26/2010 10:47 AM, Torsten Veller wrote: >> 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? >
This is wrong (but works fine with Portage), <code> local suffix=$(ecompress --suffix) dosym foo.1${suffix} /usr/share/man/man1/foo.1${suffix} </code> What you really want to do is: ssuomi...@foo /usr/share/man/man1 $ bzcat snice.1.bz2 .so man1/skill.1 This simple one-liner & "fake" manpage will link snice(1) manpage to skill(1) manpage.