diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 00:18:49 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 00:18:49 -0700 |
commit | 2369f1afef8da1f3e2ec5dc759df7604b6d9da15 (patch) | |
tree | ff202252e5646aff0e83e388be5bb2b1d62d7944 /PKGBUILD | |
parent | Updated to 5.2.17.a (diff) | |
download | linux-libre-hardened-2369f1afef8da1f3e2ec5dc759df7604b6d9da15.tar.xz |
Remove yet again broken docs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 2 insertions, 34 deletions
@@ -36,7 +36,6 @@ arch=('x86_64') license=('GPL2') makedepends=( 'xmlto' 'kmod' 'inetutils' 'bc' 'libelf' - 'python-sphinx' 'python-sphinx_rtd_theme' 'graphviz' 'imagemagick' ) conflicts=('linux-hardened') options=('!strip') @@ -155,7 +154,7 @@ prepare() { build() { cd $_srcname - make bzImage modules htmldocs + make bzImage modules } _package() { @@ -296,38 +295,7 @@ _package-headers() { chmod -Rc u=rwX,go=rX "$pkgdir" } -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel" - - local builddir="$pkgdir/usr/lib/modules/$(<version)/build" - - cd $_srcname - - msg2 "Installing documentation..." - 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" - - msg2 "Fixing permissions..." - chmod -Rc u=rwX,go=rX "$pkgdir" -} - -pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs") +pkgname=("$pkgbase" "$pkgbase-headers") for _p in "${pkgname[@]}"; do eval "package_$_p() { $(declare -f "_package${_p#$pkgbase}") |