1 |
commit: 22a0c9e703d38b0c4b3e98ee6e63a957b92c1c6d |
2 |
Author: Ralph Seichter <github <AT> seichter <DOT> de> |
3 |
AuthorDate: Tue Dec 24 23:57:31 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 17:33:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a0c9e7 |
7 |
|
8 |
www-servers/automx2: Added DOCS and HTML_DOCS |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14118 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
www-servers/automx2/automx2-2019.0.ebuild | 5 +++++ |
16 |
1 file changed, 5 insertions(+) |
17 |
|
18 |
diff --git a/www-servers/automx2/automx2-2019.0.ebuild b/www-servers/automx2/automx2-2019.0.ebuild |
19 |
index 1ae32210a3a..bc55e2b7b7e 100644 |
20 |
--- a/www-servers/automx2/automx2-2019.0.ebuild |
21 |
+++ b/www-servers/automx2/automx2-2019.0.ebuild |
22 |
@@ -14,6 +14,7 @@ SRC_URI="https://gitlab.com/automx/automx2/-/archive/${PV}/${P}.tar.bz2" |
23 |
LICENSE="GPL-3+" |
24 |
SLOT="0" |
25 |
KEYWORDS="~amd64" |
26 |
+IUSE="doc" |
27 |
|
28 |
BDEPEND="acct-user/automx2 |
29 |
$(python_gen_cond_dep \ |
30 |
@@ -32,6 +33,10 @@ python_test() { |
31 |
} |
32 |
|
33 |
python_install_all() { |
34 |
+ if use doc; then |
35 |
+ DOCS="*.adoc doc/*.adoc contrib/*sample.conf" |
36 |
+ HTML_DOCS="doc/*.html doc/*.svg" |
37 |
+ fi |
38 |
sed -e "s/@EPYTHON@/${EPYTHON}/" "${FILESDIR}/init" | newinitd - "${PN}" |
39 |
newconfd "${FILESDIR}/confd" "${PN}" |
40 |
insinto /etc |