From 3c687cf1c53761eee003a4c211fd419e9192c977 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 14 Jun 2021 16:28:43 -0300 Subject: Makefile: Use pandoc to generate HTML version of manpages --- Makefile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 79ae073..6cc5516 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ dist: sh aux/workflow/dist.sh $(DATE) $(VERSION) $(NAME) public: README.md TODOs.md CHANGELOG.md - sh aux/workflow/public.sh $(NAME) $(NAME) public-inbox - for m in $(manpages); do groff -m man -Thtml $$m > public/`basename $$m`.html; done + sh aux/workflow/public.sh $(NAME) $(NAME) $(MAILING_LIST) + for m in $(manpages); do $(do_subst) < $$m | pandoc -s -r man -w html > public/`basename $$m`.html; done .PHONY: all clean check dev-check dist install uninstall diff --git a/README.md b/README.md index 0a5d1df..51c6665 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The documentation is available via installed manpages or online: [`git-permalink Extratools used for development are: - [ShellCheck] for validating scripts; -- [pandoc], troff and Perl for generating the documentation HTML and website. +- [pandoc] and Perl for generating the documentation HTML and website. [ShellCheck]: https://www.shellcheck.net/ [pandoc]: https://pandoc.org/ -- cgit v1.2.3