diff options
author | 2020-05-01 13:44:52 +0200 | |
---|---|---|
committer | 2020-05-01 13:44:56 +0200 | |
commit | ae18ad5d3112bd7511749a2235d0f20cdf60f09a (patch) | |
tree | 7448d5649a80513a520170088e48d17dd96c125c /dev-embedded | |
parent | eclass: docs: Remove trailing whitespaces (diff) | |
download | guru-ae18ad5d3112bd7511749a2235d0f20cdf60f09a.tar.gz guru-ae18ad5d3112bd7511749a2235d0f20cdf60f09a.tar.bz2 guru-ae18ad5d3112bd7511749a2235d0f20cdf60f09a.zip |
dev-embedded/rauc: Use docs eclass
That one takes care of everything regarding the documentation.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/rauc/rauc-1.3.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/dev-embedded/rauc/rauc-1.3.ebuild b/dev-embedded/rauc/rauc-1.3.ebuild index 5fb658662..686a41b78 100644 --- a/dev-embedded/rauc/rauc-1.3.ebuild +++ b/dev-embedded/rauc/rauc-1.3.ebuild @@ -3,6 +3,11 @@ EAPI=7 +DOCBUILDER="sphinx" +DOCDIR="${S}/docs" + +inherit docs + DESCRIPTION="Lightweight update client that runs on your Embedded Linux device" HOMEPAGE="https://rauc.io/" SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" @@ -10,13 +15,12 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~x86" -IUSE="doc json network service test" +IUSE="json network service test" RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig - doc? ( dev-python/sphinx ) test? ( sys-fs/squashfs-tools ) " RDEPEND=" @@ -40,13 +44,3 @@ src_configure() { ) econf "${myconf[@]}" } - -src_compile() { - default - use doc && emake doc -} - -src_install() { - use doc && local HTML_DOCS=( docs/build/html/. ) - default -} |