xref: /freebsd/tools/tools/man/README (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1man scripts
2===========
3
4checkmlinks.sh
5--------------
6
7This is a simple script used to check if a man page's Nm/Fo/Fn macro
8names are in the Makefile.
9
10To run, switch to the directory with the pages in it and run the script:
11```
12cd /usr/src/share/man/man9
13sh /usr/src/tools/tools/man/checkmlinks.sh
14```
15
16The script will output the name that is missing, and the file that it
17was sourced from.
18
19There are a number of exceptions, and those should be added to the
20script to skip over, e.g. `SDT_PROBE`.  The last one is added because
21adding the numbered args is a bit redundant.
22