diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-05-29 21:28:18 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-05-29 21:30:46 +0200 |
commit | abd0e06a7fa7db8eb6847771c37f40a26f8c90e0 (patch) | |
tree | 0702eda3332fc4cdaf7a04d1ff342f02e08dd7c1 /eclass | |
parent | x11-proto/xcb-proto: Version bump (diff) | |
download | gentoo-abd0e06a7fa7db8eb6847771c37f40a26f8c90e0.tar.gz gentoo-abd0e06a7fa7db8eb6847771c37f40a26f8c90e0.tar.bz2 gentoo-abd0e06a7fa7db8eb6847771c37f40a26f8c90e0.zip |
vdr-plugin-2.eclass: fixed docs install for eapi=6
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vdr-plugin-2.eclass | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass index d65f6243f29a..48106d20d93e 100644 --- a/eclass/vdr-plugin-2.eclass +++ b/eclass/vdr-plugin-2.eclass @@ -612,15 +612,14 @@ vdr-plugin-2_src_install() { create_header_checksum_file ${vdr_plugin_list} create_plugindb_file ${vdr_plugin_list} - local commondoc=( README* HISTORY CHANGELOG ) - for docfile in "${commondoc[@]}"; do - if [[ ${EAPI} == "6" ]]; then - local DOCS="${DOCS} ${docfile}" - [[ -f ${docfile} ]] && einstalldocs "${DOCS[@]}" - else - [[ -f ${docfile} ]] && dodoc ${docfile} - fi - done + if [[ ${EAPI} != [45] ]]; then + einstalldocs + else + local docfile + for docfile in README* HISTORY CHANGELOG; do + [[ -f ${docfile} ]] && dodoc ${docfile} + done + fi # if VDR_CONFD_FILE is empty and ${FILESDIR}/confd exists take it [[ -z ${VDR_CONFD_FILE} ]] && [[ -e ${FILESDIR}/confd ]] && VDR_CONFD_FILE=${FILESDIR}/confd |