aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/man/README
blob: b0fd24cf1236d14d159a68909e112be80a1b32aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
man scripts
===========

checkmlinks.sh
--------------

This is a simple script used to check if a man page's Nm/Fo/Fn macro
names are in the Makefile.

To run, switch to the directory with the pages in it and run the script:
```
cd /usr/src/share/man/man9
sh /usr/src/tools/tools/man/checkmlinks.sh
```

The script will output the name that is missing, and the file that it
was sourced from.

There are a number of exceptions, and those should be added to the
script to skip over, e.g. `SDT_PROBE`.  The last one is added because
adding the numbered args is a bit redundant.

$FreeBSD$