makefile: Add an optional target to generate HTML documentation
This commit is contained in:
parent
bb09b9075b
commit
b8567a6702
4
makefile
4
makefile
|
@ -85,6 +85,10 @@ flawfinder.ps: flawfinder.1
|
||||||
flawfinder.pdf: flawfinder.ps
|
flawfinder.pdf: flawfinder.ps
|
||||||
ps2pdf flawfinder.ps flawfinder.pdf
|
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:
|
clean:
|
||||||
rm -f *.pyc
|
rm -f *.pyc
|
||||||
|
|
Loading…
Reference in New Issue