summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:48:32 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:48:32 -0200
commitea92b113ff9e1a8ecd176c801683287f63a1e37f (patch)
treefd7ff5d25f0135c2d452abd52689cf4c06d905bd
parentcdd83dfbbd0fee62d4961f9efba5745a8e0b5f89 (diff)
downloadqutebrowser-ea92b113ff9e1a8ecd176c801683287f63a1e37f.tar.gz
qutebrowser-ea92b113ff9e1a8ecd176c801683287f63a1e37f.tar.bz2
Build docs
-rwxr-xr-xqutebrowser9
1 files changed, 7 insertions, 2 deletions
diff --git a/qutebrowser b/qutebrowser
index bb7ac58..983e542 100755
--- a/qutebrowser
+++ b/qutebrowser
@@ -22,8 +22,13 @@ else
# Build qutebrowser
cd dist &> /dev/null && tox -r -e mkvenv-pypi
- #sudo apt install --no-install-recommends asciidoc source-highlight
- #python3 scripts/asciidoc2html.py
+ # Check for doc builder
+ if ! dpkg-query -W -f='${Status}' asciidoc | grep -q '^install ok'; then
+ sudo apt install --no-install-recommends asciidoc source-highlight
+ fi
+
+ # Build docs
+ python3 scripts/asciidoc2html.py
# Run this script again
$0