From af162e282aa13dcc018af19e4127a74e5f3c70c8 Mon Sep 17 00:00:00 2001 From: KLuka Date: Tue, 24 May 2016 19:27:06 +0200 Subject: [PATCH] Added shellinaboxd.pdf make target --- Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 $^ $@ +