Gentoo Archives: gentoo-commits

From: Joerg Bornkessel <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 29 May 2016 19:31:07
Message-Id: 1464550246.abd0e06a7fa7db8eb6847771c37f40a26f8c90e0.hd_brummy@gentoo
1 commit: abd0e06a7fa7db8eb6847771c37f40a26f8c90e0
2 Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 19:28:18 2016 +0000
4 Commit: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 19:30:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd0e06a
7
8 vdr-plugin-2.eclass: fixed docs install for eapi=6
9
10 eclass/vdr-plugin-2.eclass | 17 ++++++++---------
11 1 file changed, 8 insertions(+), 9 deletions(-)
12
13 diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
14 index d65f624..48106d2 100644
15 --- a/eclass/vdr-plugin-2.eclass
16 +++ b/eclass/vdr-plugin-2.eclass
17 @@ -612,15 +612,14 @@ vdr-plugin-2_src_install() {
18 create_header_checksum_file ${vdr_plugin_list}
19 create_plugindb_file ${vdr_plugin_list}
20
21 - local commondoc=( README* HISTORY CHANGELOG )
22 - for docfile in "${commondoc[@]}"; do
23 - if [[ ${EAPI} == "6" ]]; then
24 - local DOCS="${DOCS} ${docfile}"
25 - [[ -f ${docfile} ]] && einstalldocs "${DOCS[@]}"
26 - else
27 - [[ -f ${docfile} ]] && dodoc ${docfile}
28 - fi
29 - done
30 + if [[ ${EAPI} != [45] ]]; then
31 + einstalldocs
32 + else
33 + local docfile
34 + for docfile in README* HISTORY CHANGELOG; do
35 + [[ -f ${docfile} ]] && dodoc ${docfile}
36 + done
37 + fi
38
39 # if VDR_CONFD_FILE is empty and ${FILESDIR}/confd exists take it
40 [[ -z ${VDR_CONFD_FILE} ]] && [[ -e ${FILESDIR}/confd ]] && VDR_CONFD_FILE=${FILESDIR}/confd