Project

General

Profile

Actions

Bug #14844

open

mandoc needs to reference makewhatis not man -w

Added by Garrett D'Amore 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

When the integration of mandoc was done originally, the macro BINM_MAKEWHATIS did not exist.

Now it does, and it refers to "man -w". But the reference for it tries to have the notion of creating a man database so this should reference an actual executable.

Historically the idea is that this was going to be makewhatis, which should create an indexing database for man.

However, /usr/lib/makewhatis is a program designed for Sun manual databases, that are far simpler. (The whatis file).

It might be worth considering updating the makewhatis program to be a link to mandoc, and to having man use the new file format.

Alternatively we could deliver mandocdb as an alias.

Having this is useful because mandoc -Tlint complains if it doesn't find a useful index.

No data to display

Actions

Also available in: Atom PDF