diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2022-07-16 15:50:49 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2022-07-16 16:05:32 +0200 |
commit | 8a7be30df665cd475a6272a5b17936965dccb686 (patch) | |
tree | a63cd17f322499bbc2fe9b3117c45f155d5b5850 | |
parent | 67cb7c8e6dd605738e8f5434ef4610baf03997d9 (diff) | |
download | fetchmail-8a7be30df665cd475a6272a5b17936965dccb686.tar.gz fetchmail-8a7be30df665cd475a6272a5b17936965dccb686.tar.bz2 fetchmail-8a7be30df665cd475a6272a5b17936965dccb686.zip |
rst2html5[.py]: let configure look for it.
FreeBSD only has rst2html5.py, Debian only rst2html5, Fedora both.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 79ada427..36294d89 100644 --- a/Makefile.am +++ b/Makefile.am @@ -270,7 +270,7 @@ SUFFIXES = .html .txt .rst .man.rst: pandoc --from man --to rst --table-of-contents --standalone --output $@ $< .rst.html: - rst2html5.py --title "Fetchmail Manual" --strip-comments --rfc-references $< $@ + $(RST2HTML) --title "Fetchmail Manual" --strip-comments --rfc-references $< $@ # default to some non-default options when using "make distcheck" AM_DISTCHECK_CONFIGURE_FLAGS=--with-ssl diff --git a/configure.ac b/configure.ac index 1f296bff..d0df287e 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,8 @@ AC_PROG_RANLIB AM_PROG_CC_C_O PKG_PROG_PKG_CONFIG +AC_CHECK_PROGS([RST2HTML], [rst2html5.py rst2html5], [false]) + AC_LIB_RPATH AC_ISC_POSIX |