From f16f2caba7e516ba5a7e78f14be35a9e066c3fea Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 00:56:53 +0800 Subject: Mandoc more --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e4a0743..0171a2c 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3