summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-04 08:16:27 +1100
committerDamien Miller <djm@mindrot.org>2011-01-04 08:16:27 +1100
commit30a69e7bba0161eabb678b9902fbd04e7495d86e (patch)
tree5890c2c6de8720a84e3a5a571d5c9879f98a04b6 /Makefile.in
parentd197fd64a1fa309295a99ce46e9ee016b84d2a59 (diff)
- (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage
formatter if it is present, followed by nroff and groff respectively. Fixes distprep target on OpenBSD (which has bumped groff/nroff to ports in favour of mandoc). feedback and ok tim
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b46a7b26..be65be6b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.313 2011/01/03 03:48:16 djm Exp $
+# $Id: Makefile.in,v 1.314 2011/01/03 21:16:29 djm Exp $
# uncomment if you run a non bourne compatable shell. Ie. csh
#SHELL = @SH@
@@ -58,6 +58,7 @@ ENT=@ENT@
XAUTH_PATH=@XAUTH_PATH@
LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
EXEEXT=@EXEEXT@
+MANFMT=@MANFMT@
INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@
@@ -230,7 +231,7 @@ catman-do:
@for f in $(MANPAGES_IN) ; do \
base=`echo $$f | sed 's/\..*$$//'` ; \
echo "$$f -> $$base.0" ; \
- nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
+ $(MANFMT) $$f | cat -v | sed -e 's/.\^H//g' \
>$$base.0 ; \
done