1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.113 2012/11/26 15:47:20 tetromino Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.114 2012/11/27 00:48:01 tetromino Exp $ |
4 | |
4 | |
5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
8 | # @BLURB: |
8 | # @BLURB: |
… | |
… | |
198 | local d |
198 | local d |
199 | for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \ |
199 | for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \ |
200 | FAQ CREDITS CHANGELOG ; do |
200 | FAQ CREDITS CHANGELOG ; do |
201 | [[ -s "${d}" ]] && dodoc "${d}" |
201 | [[ -s "${d}" ]] && dodoc "${d}" |
202 | done |
202 | done |
203 | elif declare -p DOCS | grep -q '^declare -a ' ; then |
203 | elif declare -p DOCS | grep -q '^declare -a' ; then |
204 | dodoc "${DOCS[@]}" |
204 | dodoc "${DOCS[@]}" |
205 | else |
205 | else |
206 | dodoc ${DOCS} |
206 | dodoc ${DOCS} |
207 | fi |
207 | fi |
208 | fi |
208 | fi |