From 94bacea9e14754cb63b7f88ead243649f3df4f1d Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 7 Aug 2018 17:58:30 -0300 Subject: [PATCH] Manual.md: document how vman() deals with gzipped (.gz) manpages [ci skip] --- Manual.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Manual.md b/Manual.md index 433e4625313..b2b175fe2ca 100644 --- a/Manual.md +++ b/Manual.md @@ -245,11 +245,13 @@ The following functions are defined by `xbps-src` and can be used on any templat - *vman()* `vman []` 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 []`