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