aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-14 16:28:43 -0300
committerEuAndreh <eu@euandre.org>2021-06-14 16:28:43 -0300
commit3c687cf1c53761eee003a4c211fd419e9192c977 (patch)
treef3ef6b69e1c9626e8605ff9166152887d39a8161
parentREADME.md: Add link to git-send-email.io (diff)
downloadgit-permalink-3c687cf1c53761eee003a4c211fd419e9192c977.tar.gz
git-permalink-3c687cf1c53761eee003a4c211fd419e9192c977.tar.xz
Makefile: Use pandoc to generate HTML version of manpages
-rw-r--r--Makefile4
-rw-r--r--README.md2
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/