diff --git a/Makefile.am b/Makefile.am index 7b8e7ab..5c52a8b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -242,7 +242,8 @@ shellinaboxd.1: ${top_srcdir}/shellinabox/shellinaboxd.man.in \ clean-local: clean-demo -rm -rf shellinaboxd.1 \ - shellinaboxd.ps + shellinaboxd.ps \ + shellinaboxd.pdf -rm -rf debian/shellinabox \ debian/shellinabox*.debhelper* \ debian/shellinabox.substvars \ @@ -364,3 +365,9 @@ clean-demo: "(int)sizeof($${sym}Start);"; \ } >"$@" +shellinaboxd.ps: shellinaboxd.1 + groff -man -T ps $^ >$@ + +shellinaboxd.pdf: shellinaboxd.ps + ps2pdf $^ $@ +