aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAvatar zaufi <i.zaufi@gmail.com> 2013-12-13 15:44:20 +0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-12-29 20:04:18 +0000
commit590c6a9c55f27d1cebc72462cc0797d62a004952 (patch)
tree812d6de3c7d6cef7b1886896047e5bad15c165b0 /configure.ac
parentff990637e2397690ce911a762d1ce089acd602ad (diff)
downloadpaludis-590c6a9c55f27d1cebc72462cc0797d62a004952.tar.gz
paludis-590c6a9c55f27d1cebc72462cc0797d62a004952.tar.xz
Use `sphinx` (which is Pythons 2 and 3 compatible) to build Python API documentation instead of Python 2 only `epydoc`.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 4 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 9c11264ec..bbbf73ee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1169,18 +1169,9 @@ fi
AC_MSG_RESULT($enable_python_doc)
if test "x$enable_python_doc" = "xyes" ; then
- AC_MSG_CHECKING([for epydoc])
- if epydoc --version >/dev/null 2>/dev/null ; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_ERROR([epydoc (http://epydoc.sourceforge.net/) is needed to build Python documentation])
- fi
-
- AC_MSG_CHECKING([for pygments])
- if pygmentize -V >/dev/null 2>/dev/null ; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_ERROR([pygments (http://pygments.org/) is needed to build Python documentation])
+ AC_CHECK_PROGS(SPHINX_BUILD, [sphinx-build], [no])
+ if test "x$SPHINX_BUILD" = "xno" ; then
+ AC_MSG_ERROR([sphinx-build (http://sphinx-doc.com/) is needed to build Python documentation])
fi
fi
AM_CONDITIONAL([ENABLE_PYTHON_DOC], test "x$enable_python_doc" = "xyes")
@@ -1551,6 +1542,7 @@ AC_CONFIG_FILES([
doc/api/cplusplus/doxygen.conf
doc/api/cplusplus/Makefile
doc/api/cplusplus/examples/Makefile
+ doc/api/python/conf.py
doc/api/python/Makefile
doc/api/ruby/Makefile
doc/clients/Makefile