make target for help

This commit is contained in:
Ted Unangst 2023-08-28 01:06:39 -04:00
parent a4be8b9e02
commit 3bbd1ad2b3
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@ honk: .preflightcheck schema.sql *.go go.mod
.preflightcheck: preflight.sh
@sh ./preflight.sh
help:
for m in docs/*.[13578] ; do \
mandoc -T html -O fragment,man=%N.%S.html $$m | sed -E 's/<a class="Lk" href="([[:alnum:]._-]*)">/<img src="\1"><br>/g' > $$m.html ; \
done
clean:
rm -f honk