From 248398820acb6a81f0d92b7a33dc1e449dda483b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 3 Sep 2014 18:09:14 +0000 Subject: If a manual page is installed gzip(1)ed, let makewhatis(8) take note in mandoc.db(5), such that man(1) -w and apropos(1) -w can report the correct filename. This is a prerequisite for letting apropos -a and man support gzip'ed manuals in the future, which doesn't work yet. --- mandoc.db.5 | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'mandoc.db.5') diff --git a/mandoc.db.5 b/mandoc.db.5 index 8d564957..e3452ffe 100644 --- a/mandoc.db.5 +++ b/mandoc.db.5 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.db.5,v 1.1 2014/04/15 20:18:26 schwarze Exp $ +.\" $Id: mandoc.db.5,v 1.2 2014/09/03 18:09:14 schwarze Exp $ .\" .\" Copyright (c) 2014 Ingo Schwarze .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 15 2014 $ +.Dd $Mdocdate: September 3 2014 $ .Dt MANDOC.DB 5 .Os .Sh NAME @@ -67,13 +67,26 @@ The description line .Pq Sq \&Nd of the page. .It Sy mpages.form -The +An .Vt INTEGER -1 if the page is unformatted, i.e. in +bit field. +If bit +.Dv FORM_GZ +is set, the page is compressed and requires +.Xr gunzip 1 +for display. +If bit +.Dv FORM_SRC +is set, the page is unformatted, that is in .Xr mdoc 7 or .Xr man 7 -format, and 2 if it is formatted, i.e. a +format, and requires +.Xr mandoc 1 +for display. +If bit +.Dv FORM_SRC +is not set, the page is formatted, i.e. a .Sq cat page. .It Sy mlinks.sec -- cgit v1.2.3-56-ge451