profiles: Generate database file for man pages.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 5 Apr 2017 08:09:22 +0000 (01:09 -0700)
committerLudovic Courtès <ludo@gnu.org>
Wed, 5 Apr 2017 20:45:41 +0000 (22:45 +0200)
commita0b87ef8ec7735aa42cf35d380e9cff04f3236f3
treebbbce562b199d3608fd17cf4b2b9219a11b9e98d
parent1618006d0bc9bfdc63f4d199fd980f29ecc78ec4
profiles: Generate database file for man pages.

The mandb database file (index.db) is used by the "apropos" (whatis) or
"man -k" commands.  This change introduces a profile hook to generate
such database file.

* guix/profiles.scm (manual-database): New procedure.
(%default-profile-hooks): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
guix/profiles.scm