aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-14 12:06:14 -0300
committerEuAndreh <eu@euandre.org>2021-06-14 12:06:14 -0300
commitfd96f74ebe7032172dbae0056dc399f4bf4a6842 (patch)
tree825b4cbde998cbe4c8f5983b08ee02c9568ff9bc
parentdoc/remembering.1: Better formatting of options (diff)
downloadremembering-fd96f74ebe7032172dbae0056dc399f4bf4a6842.tar.gz
remembering-fd96f74ebe7032172dbae0056dc399f4bf4a6842.tar.xz
Makefile: Use pandoc over groff to generate HTML from manpages
-rw-r--r--Makefile2
-rw-r--r--README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1c4887c..1049faf 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,6 @@ dist: clean public dev-check
public: README.md TODOs.md CHANGELOG.md $(manpages)
sh aux/workflow/public.sh Remembering $(NAME) $(MAILING_LIST)
- for m in $(manpages); do groff -m man -Thtml $$m > public/`basename $$m`.html; done
+ 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 28ec560..e35bfe4 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ The documentation is available via installed manpages or online: [`remembering.1
Extra tools used for development are:
- [fallible] and [Valgrind] for memory testing;
- [ShellCheck] for validating scripts;
-- [pandoc], groff and Perl for generating the documentation HTML and website.
+- [pandoc] and Perl for generating the documentation HTML and website.
[fallible]: https://fallible.euandreh.xyz
[Valgrind]: https://valgrind.org