summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-03 18:08:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-03 18:08:27 +0000
commit2dbfdf16737db51001d6a75042ed25ba8bcaea06 (patch)
treeecd16298f5d5fa46d497cf6c24d503df869eab88 /share
parent84376fdb94d04453466a113db08ae41ac993c794 (diff)
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.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/mandoc.db.523
1 files changed, 18 insertions, 5 deletions
diff --git a/share/man/man5/mandoc.db.5 b/share/man/man5/mandoc.db.5
index ace24417eb7..6ea94f886b7 100644
--- a/share/man/man5/mandoc.db.5
+++ b/share/man/man5/mandoc.db.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc.db.5,v 1.1 2014/04/24 19:08:01 schwarze Exp $
+.\" $OpenBSD: mandoc.db.5,v 1.2 2014/09/03 18:08:26 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -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 24 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