Manual.md: document how vman() deals with gzipped (.gz) manpages

[ci skip]
This commit is contained in:
maxice8 2018-08-07 17:58:30 -03:00
parent e42406c070
commit 94bacea9e1
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -245,11 +245,13 @@ The following functions are defined by `xbps-src` and can be used on any templat
- *vman()* `vman <file> [<name>]`
Installs `file` as a man page. `vman()` parses the name and
determines the section as well as localization. Example mappings:
determines the section as well as localization. Also transparently
converts gzipped (.gz) manpages into plaintext. Example mappings:
`foo.1` -> `${DESTDIR}/usr/share/man/man1/foo.1`
`foo.fr.1` -> `${DESTDIR}/usr/share/man/fr/man1/foo.1`
`foo.1p` -> `${DESTDIR}/usr/share/man/man1/foo.1p`
`foo.1.gz` -> `${DESTDIR}/usr/share/man/man1/foo.1`
- *vdoc()* `vdoc <file> [<name>]`