summaryrefslogtreecommitdiffstats
path: root/share/man/man5
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-09-03 18:08:26 +0000
committerschwarze <schwarze@openbsd.org>2014-09-03 18:08:26 +0000
commit2f08085ded99aab88a4d1b1e50144f6465b2479d (patch)
treef4d19d155c56724cc36d71be0398b6791af62195 /share/man/man5
parentAdd tests that send log messages via unix domain sockets to syslogd. (diff)
downloadwireguard-openbsd-2f08085ded99aab88a4d1b1e50144f6465b2479d.tar.xz
wireguard-openbsd-2f08085ded99aab88a4d1b1e50144f6465b2479d.zip
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/man/man5')
-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