summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2014-09-08 00:37:19 +0200
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2015-01-27 23:13:14 +0100
commita03ce68b86d22becb9d56841b8087d9c9cd3fd21 (patch)
tree1bd55bf17283038933497e3dcb54c0a7cfa727b7 /m4
parent86be72236e6f382a7027f702f6d7cdfeca73acf2 (diff)
downloadgroff-git-a03ce68b86d22becb9d56841b8087d9c9cd3fd21.tar.gz
Build texinfo doc.
By default only info doc is built. Add optional targets to build html, pdf, txt, and dvi doc.
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4
index 4b34b7eb2..251b7ed75 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -148,7 +148,11 @@ AC_DEFUN([GROFF_DOC_CHECK],
# We need makeinfo 4.8 or newer.
AC_DEFUN([GROFF_MAKEINFO],
- [if test $docadd_info = yes; then
+ # By default automake will set MAKEINFO to MAKEINFO = ${SHELL} <top
+ # src dir>/build-aux/missing makeinfo.As we need a more precise
+ # check of makeinfo version, we don't use it.
+ [MAKEINFO=
+ if test $docadd_info = yes; then
missing=
AC_CHECK_PROG([MAKEINFO], [makeinfo], [makeinfo])
if test -z "$MAKEINFO"; then
@@ -195,8 +199,8 @@ AC_DEFUN([GROFF_MAKEINFO],
AC_SUBST([MAKEINFO])
AC_SUBST([make_infodoc])
AC_SUBST([make_install_infodoc])
- AC_SUBST([make_uninstall_infodoc])])
-
+ AC_SUBST([make_uninstall_infodoc])
+ AC_SUBST([makeinfo_version_numeric])])
# The following programs are needed for grohtml.