]> gitweb.fluxo.info Git - qutebrowser.git/commitdiff
Build docs
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 12:48:32 +0000 (10:48 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 12:48:32 +0000 (10:48 -0200)
qutebrowser

index bb7ac5861b1204d97af1ad6e3826a4f4970407f6..983e54254bc9ddc88a0e5bd734a02c4444590ede 100755 (executable)
@@ -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