summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-08-09 21:26:19 +0200
committerGitHub <noreply@github.com>2022-08-09 21:26:19 +0200
commit80d064e15d843eb137ff80c9e9797b9c180e1743 (patch)
treea3bbc79008c531462146b205ea596b29cbefd64c /configure.ac
parent4f40fa84338260bc129fac3aed1126a76f23b27b (diff)
downloadflac-80d064e15d843eb137ff80c9e9797b9c180e1743.tar.gz
Convert docbook to markdown
Currently, the man pages are converted from a docbook document, but the conversion doesn't seem very reliable. Also, the man page is more-or-less duplicated by the html documentation. This commit moves all tool documentation to a markdown document which is readable by itself and can be converted by pandoc to a man page and can be used by Jekyll to populate the website.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 62629c81..df468e25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -467,11 +467,11 @@ dnl check for i18n(internationalization); these are from libiconv/gettext
AM_ICONV
AM_LANGINFO_CODESET
-AC_CHECK_PROGS(DOCBOOK_TO_MAN, docbook-to-man docbook2man)
-AM_CONDITIONAL(FLaC__HAS_DOCBOOK_TO_MAN, test -n "$DOCBOOK_TO_MAN")
-if test -n "$DOCBOOK_TO_MAN" ; then
-AC_DEFINE(FLAC__HAS_DOCBOOK_TO_MAN)
-AH_TEMPLATE(FLAC__HAS_DOCBOOK_TO_MAN, [define if you have docbook-to-man or docbook2man])
+AC_CHECK_PROGS(PANDOC, pandoc)
+AM_CONDITIONAL(FLaC__HAS_PANDOC, test -n "$PANDOC")
+if test -n "$PANDOC" ; then
+AC_DEFINE(FLAC__HAS_PANDOC)
+AH_TEMPLATE(FLAC__HAS_PANDOC, [define if you have pandoc])
fi
AC_CHECK_LIB(rt, clock_gettime,