xref: /freebsd/tools/tools/man/README (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
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