summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2019-07-20 09:12:42 +0200
committerMichal Nowikowski <godfryd@isc.org>2019-07-30 10:45:13 +0200
commit66e300f74fc004f60a8ed3ebdaf31bb60a915a78 (patch)
tree0e6dd4d8a07f0e3f1a9c2e2edb99835b49fe13fb /hammer.py
parentfixed building kea-shell (diff)
downloadkea-66e300f74fc004f60a8ed3ebdaf31bb60a915a78.tar.xz
kea-66e300f74fc004f60a8ed3ebdaf31bb60a915a78.zip
improved building docs on some systems
- improved handling sphinx in configure.ac - adjusted hammer with new deps for docs - updated docs about new deps for docs
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/hammer.py b/hammer.py
index d2560466e4..739c44bbeb 100755
--- a/hammer.py
+++ b/hammer.py
@@ -1021,7 +1021,9 @@ def prepare_system_local(features, check_times):
packages.extend(['rpm-build', 'python2-devel', 'python3-devel'])
if 'docs' in features:
- packages.extend(['libxslt', 'elinks', 'docbook-style-xsl'])
+ packages.extend(['python3-sphinx', 'texlive', 'texlive-fncychap', 'texlive-tabulary',
+ 'texlive-framed', 'texlive-wrapfig', 'texlive-upquote',
+ 'texlive-capt-of', 'texlive-needspace', 'latexmk'])
if 'mysql' in features:
execute('sudo dnf remove -y community-mysql-devel || true')
@@ -1187,7 +1189,9 @@ def prepare_system_local(features, check_times):
packages.append('googletest')
if 'docs' in features:
- packages.extend(['dblatex', 'xsltproc', 'elinks', 'docbook-xsl'])
+ packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme', 'latexmk'])
+ if revision == '9':
+ packages.append('texlive-generic-extra')
if 'native-pkg' in features:
packages.extend(['build-essential', 'fakeroot', 'devscripts'])
@@ -1223,7 +1227,7 @@ def prepare_system_local(features, check_times):
packages = ['autoconf', 'automake', 'libtool', 'openssl', 'log4cplus', 'boost-libs']
if 'docs' in features:
- packages.extend(['libxslt', 'elinks', 'docbook-xsl'])
+ packages.extend(['py36-sphinx', 'py36-sphinx_rtd_theme'])
if 'unittest' in features:
_install_gtest_sources()