Browse Source

n/nncli: Updated.

current-20200608
parent
commit
0a4daac181
  1. 4
      n/nncli/nncli.SlackBuild

4
n/nncli/nncli.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -79,7 +79,7 @@ install -m 644 CHANGELOG.txt LICENSE README.rst TODO.txt \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Build HTML docs if Sphinx and the readthedocs.org theme are available
if type -p sphinx-build && python -c "import sphinx_rtd_theme" ; then
if type -p sphinx-build && python3 -c "import sphinx_rtd_theme" ; then
# Remove dependency to needless extension
sed -i -e '/sphinx_sitemap/d' docs/source/conf.py
sphinx-build -b html docs/source $PKG/usr/doc/$NAMEPKG-$VERSION/html

Loading…
Cancel
Save