summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-05-19 22:39:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-05-19 22:39:07 +0000
commit9a29284defc55ab9814f821fe9a5f067c1f34be9 (patch)
tree3d73fdaecafff195f6b7b34cc91ea5e050f1bc15 /eclass
parentUse DOCS array (diff)
downloadgentoo-2-9a29284defc55ab9814f821fe9a5f067c1f34be9.tar.gz
gentoo-2-9a29284defc55ab9814f821fe9a5f067c1f34be9.tar.bz2
gentoo-2-9a29284defc55ab9814f821fe9a5f067c1f34be9.zip
DOCS has to be an array now, all ebuilds are migrated
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfconf.eclass12
1 files changed, 3 insertions, 9 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index 756912bbb5f3..79b6a8ad3cd4 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.33 2011/05/01 11:46:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.34 2011/05/19 22:39:07 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -103,18 +103,12 @@ xfconf_src_configure() {
# @FUNCTION: xfconf_src_install
# @DESCRIPTION:
-# Run emake install and install documentation in the DOCS variable
+# Run emake install and install documentation in the DOCS array
xfconf_src_install() {
debug-print-function ${FUNCNAME} "$@"
emake DESTDIR="${D}" "$@" install || die
- if [[ -n ${DOCS[@]} ]]; then
- if [[ $(declare -p DOCS) == "declare -a "* ]]; then
- dodoc "${DOCS[@]}" || die
- else
- dodoc ${DOCS} || die
- fi
- fi
+ [[ -n ${DOCS[@]} ]] && dodoc "${DOCS[@]}"
find "${ED}" -name '*.la' -exec rm -f {} +