From: Michael Orlitzky Date: Thu, 5 Aug 2021 22:10:53 +0000 (-0400) Subject: Makefile: fix the HTML documentation rule. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ab98d9daf8f8ad54b3b8220e7b852edcea341958;p=postfix-logwatch.git Makefile: fix the HTML documentation rule. It looks like man2html on Linux does not (or does not any longer) support the "-t" flag. Moreover, man2html seems happy to read the man page directly. In this commit we simplify the html documentation rule to simply call man2html on the man page itself, with no flags. --- diff --git a/Makefile b/Makefile index b9c667f..ccdd35a 100644 --- a/Makefile +++ b/Makefile @@ -58,5 +58,5 @@ release: rel=$(program)-$$vers ; \ tar -cJf $${rel}.tar.xz --transform=s",^,$${rel}/," $(src); -$(program).1.html: - groff -m mandoc -T ascii $(program).1 | man2html -t 'Man page: $(program)(1)' >| $@; +$(program).1.html: $(program).1 + man2html $< > $@;