write man; fix man build

This commit is contained in:
2026-01-14 22:57:45 +05:30
parent c536c0a26b
commit facd419765
2 changed files with 60 additions and 2 deletions

View File

@@ -29,8 +29,10 @@ docs:
make $(strip $(DOCS))
build/man/%: docs/%.md build/man/ docs/
pandoc --from markdown --to man \
$< $@
pandoc --to man \
--standalone \
--output $@ \
$<
%/:
@mkdir -p $@