Revert "FS#59688 - Install HTML docs"
Build is broken with sphinx v2.
This commit is contained in:
parent
b16b08b24a
commit
adddcfd36f
16
PKGBUILD
16
PKGBUILD
|
@ -10,7 +10,7 @@ pkgrel=1
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://git.archlinux.org/linux.git/log/?h=v$_srcver"
|
url="https://git.archlinux.org/linux.git/log/?h=v$_srcver"
|
||||||
license=(GPL2)
|
license=(GPL2)
|
||||||
makedepends=(xmlto kmod inetutils bc libelf git python-sphinx graphviz)
|
makedepends=(xmlto kmod inetutils bc libelf git)
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
_srcname=archlinux-linux
|
_srcname=archlinux-linux
|
||||||
source=(
|
source=(
|
||||||
|
@ -61,7 +61,7 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
make bzImage modules htmldocs
|
make bzImage modules
|
||||||
}
|
}
|
||||||
|
|
||||||
_package() {
|
_package() {
|
||||||
|
@ -212,18 +212,6 @@ _package-docs() {
|
||||||
mkdir -p "$builddir"
|
mkdir -p "$builddir"
|
||||||
cp -t "$builddir" -a Documentation
|
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..."
|
msg2 "Adding symlink..."
|
||||||
mkdir -p "$pkgdir/usr/share/doc"
|
mkdir -p "$pkgdir/usr/share/doc"
|
||||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||||
|
|
Loading…
Reference in New Issue