[arch-commits] Commit in linux-zen/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Apr 13 13:15:24 UTC 2019


    Date: Saturday, April 13, 2019 @ 13:15:23
  Author: heftig
Revision: 350773

Revert "FS#59688 - Install HTML docs"

Build is broken with sphinx v2.

Modified:
  linux-zen/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-13 13:13:46 UTC (rev 350772)
+++ PKGBUILD	2019-04-13 13:15:23 UTC (rev 350773)
@@ -10,7 +10,7 @@
 arch=(x86_64)
 url="https://github.com/zen-kernel/zen-kernel/commits/v$_srcver"
 license=(GPL2)
-makedepends=(xmlto kmod inetutils bc libelf git python-sphinx graphviz)
+makedepends=(xmlto kmod inetutils bc libelf git)
 options=('!strip')
 _srcname=zen-kernel
 source=(
@@ -61,7 +61,7 @@
 
 build() {
   cd $_srcname
-  make bzImage modules htmldocs
+  make bzImage modules
 }
 
 _package() {
@@ -212,18 +212,6 @@
   mkdir -p "$builddir"
   cp -t "$builddir" -a Documentation
 
-  msg2 "Removing doctrees..."
-  rm -r "$builddir/Documentation/output/.doctrees"
-
-  msg2 "Moving HTML docs..."
-  local src dst
-  while read -rd '' src; do
-    dst="$builddir/Documentation/${src#$builddir/Documentation/output/}"
-    mkdir -p "${dst%/*}"
-    mv "$src" "$dst"
-    rmdir -p --ignore-fail-on-non-empty "${src%/*}"
-  done < <(find "$builddir/Documentation/output" -type f -print0)
-
   msg2 "Adding symlink..."
   mkdir -p "$pkgdir/usr/share/doc"
   ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"



More information about the arch-commits mailing list