summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Seichter <github@seichter.de>2019-12-25 00:57:31 +0100
committerAaron Bauman <bman@gentoo.org>2019-12-27 12:33:33 -0500
commit22a0c9e703d38b0c4b3e98ee6e63a957b92c1c6d (patch)
tree7ed47c7c4cfc8bdbbf88fdbd4b01fb6d4ec11dd0 /www-servers/automx2
parentdev-libs/fribidi: arm64 stable (bug #699338) (diff)
downloadgentoo-22a0c9e703d38b0c4b3e98ee6e63a957b92c1c6d.tar.gz
gentoo-22a0c9e703d38b0c4b3e98ee6e63a957b92c1c6d.tar.bz2
gentoo-22a0c9e703d38b0c4b3e98ee6e63a957b92c1c6d.zip
www-servers/automx2: Added DOCS and HTML_DOCS
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Closes: https://github.com/gentoo/gentoo/pull/14118 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'www-servers/automx2')
-rw-r--r--www-servers/automx2/automx2-2019.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/www-servers/automx2/automx2-2019.0.ebuild b/www-servers/automx2/automx2-2019.0.ebuild
index 1ae32210a3a2..bc55e2b7b7ec 100644
--- a/www-servers/automx2/automx2-2019.0.ebuild
+++ b/www-servers/automx2/automx2-2019.0.ebuild
@@ -14,6 +14,7 @@ SRC_URI="https://gitlab.com/automx/automx2/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="doc"
BDEPEND="acct-user/automx2
$(python_gen_cond_dep \
@@ -32,6 +33,10 @@ python_test() {
}
python_install_all() {
+ if use doc; then
+ DOCS="*.adoc doc/*.adoc contrib/*sample.conf"
+ HTML_DOCS="doc/*.html doc/*.svg"
+ fi
sed -e "s/@EPYTHON@/${EPYTHON}/" "${FILESDIR}/init" | newinitd - "${PN}"
newconfd "${FILESDIR}/confd" "${PN}"
insinto /etc