summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-17 14:06:21 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-17 17:58:35 -0400
commit16a666d3767c7db5c2e352c02f09aedca723d2a1 (patch)
tree22fe3d33ecaeb7ee33062d4ae2604289fb50db67 /Makefile
parent14e4e428252126d10febb7a0684b68bcf02532bc (diff)
downloadbfs-16a666d3767c7db5c2e352c02f09aedca723d2a1.tar.xz
docs/bfs.1: Fix some CHECKSTYLE warnings
And add a new `make check-man` target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2679c85..d21cbb3 100644
--- a/Makefile
+++ b/Makefile
@@ -215,6 +215,11 @@ check-install::
bin/bfs pkg -not -type d -print -exit 1
${RM} -r pkg
+# Check man page markup
+check-man::
+ ${MSG} "[LINT] docs/bfs.1" \
+ groff -man -rCHECKSTYLE=3 -ww -b -z docs/bfs.1
+
## Cleanup (`make clean`)
# Clean all build products