Check for ps2pdf before using it

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2021-01-11 19:19:12 -05:00
parent 29df9eb26e
commit 6fd354bd2d
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ flawfinder.ps: flawfinder.1
man -t ./flawfinder.1 > flawfinder.ps
flawfinder.pdf: flawfinder.ps
which ps2pdf # Ensure we have ps2pdf installed (from ghostscript)
ps2pdf flawfinder.ps flawfinder.pdf
# Not built by default, since man2html is not widely available