makefile: Add an optional target to generate HTML documentation

This commit is contained in:
David A. Wheeler 2014-08-03 16:19:55 -04:00
parent bb09b9075b
commit b8567a6702
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ flawfinder.ps: flawfinder.1
flawfinder.pdf: flawfinder.ps
ps2pdf flawfinder.ps flawfinder.pdf
# Not built by default, since man2html is not widely available
# and the PDF is prettier.
flawfinder.html: flawfinder.1
man2html flawfinder.1 | tail -n +3 > flawfinder.html
clean:
rm -f *.pyc