diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 00:56:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 00:57:42 +0800 |
commit | f16f2caba7e516ba5a7e78f14be35a9e066c3fea (patch) | |
tree | 6a8b9347c99f9db8bc4e412a72a4041471b5411b /Makefile | |
parent | Add repo tab navigation to all pages (diff) | |
download | forge-f16f2caba7e516ba5a7e78f14be35a9e066c3fea.tar.gz forge-f16f2caba7e516ba5a7e78f14be35a9e066c3fea.tar.zst forge-f16f2caba7e516ba5a7e78f14be35a9e066c3fea.zip |
Mandoc more
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -10,10 +10,13 @@ forge: version.go hookc/*.c hookc/hookc man # TODO go mod vendor go build . -man: $(MAN_PAGES:%=man/%.html) +man: $(MAN_PAGES:%=man/%.html) $(MAN_PAGES:%=man/%.txt) man/%.html: man/% - mandoc -Thtml -O style=static/mandoc.css $< > $@ + mandoc -Thtml -O style=./mandoc.css $< > $@ + +man/%.txt: man/% + mandoc $< | col -b > $@ hookc/hookc: |