From: Jean Baptiste Favre Date: Fri, 25 Nov 2016 16:49:34 +0000 (+0100) Subject: Fix man pages build X-Git-Tag: archive/raspbian/8.0.2+ds-1+rpi1~1^2^2^2^2^2^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=52d58aba99e26d274a1eebd9eadb511922072a97;p=trafficserver.git Fix man pages build Gbp-Pq: Name 0005-fix_documentation_build_option.patch --- diff --git a/configure.ac b/configure.ac index 9f91f00c..cbaaeb0a 100644 --- a/configure.ac +++ b/configure.ac @@ -275,7 +275,7 @@ AM_CONDITIONAL([BUILD_TESTS], [test 0 -ne $has_tests]) AC_MSG_CHECKING([whether to build documentation]) AC_ARG_ENABLE([docs], [AS_HELP_STRING([--enable-docs],[enable documentation building])], - [], + [enable_doc_build=yes], [enable_doc_build=no] ) AC_MSG_RESULT([$enable_doc_build]) diff --git a/doc/manpages.py b/doc/manpages.py index 761a74c4..7b62a257 100644 --- a/doc/manpages.py +++ b/doc/manpages.py @@ -20,7 +20,7 @@ import os man_pages = [ # Add all files in the reference/api directory to the list of manual # pages - ('developer-guide/api/functions/' + filename[:-4], filename.split('.', 1)[0], '', None, '3ts') for filename in os.listdir('developer-guide/api/functions/') if filename != 'index.en.rst' and filename.endswith('.rst')] + [ + ('developer-guide/api/functions/' + filename[:-4], filename.split('.', 1)[0], filename.split('.', 1)[0] + ' API function', None, '3ts') for filename in os.listdir('developer-guide/api/functions/') if filename != 'index.en.rst' and filename.endswith('.rst')] + [ ('appendices/command-line/traffic_cop.en', 'traffic_cop', u'Traffic Server watchdog', None, '8'), ('appendices/command-line/traffic_ctl.en', 'traffic_ctl', u'Traffic Server command line tool', None, '8'),