Files
gentoo/sys-kernel/linux-docs/linux-docs-4.19.99.ebuild
Mike Pagano ad0cc2c1f8 sys-kernel/linux-docs: Update to include sphinx fixes
Reported-by: Leonid Kopylov <leonchik1976@gmail.com>
Closes: https://bugs.gentoo.org/706616
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
2020-01-27 14:08:43 -05:00

32 lines
670 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Developer documentation generated from the Linux kernel"
HOMEPAGE="https://www.kernel.org/"
SRC_URI="https://www.kernel.org/pub/linux/kernel/v4.x/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="dev-python/sphinx"
RDEPEND=""
src_compile() {
local ARCH=$(tc-arch-kernel)
unset KBUILD_OUTPUT
emake htmldocs
}
src_install() {
HTML_DOCS=( Documentation/output/. )
einstalldocs
}