diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-09-10 09:56:12 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-09-10 09:56:12 +0000 |
commit | ca2942f1f67007d5c5e644475bb6461bf37f840a (patch) | |
tree | fc70f3089b9c39e92b2dfdec387403fa204cc589 /eclass/kde.eclass | |
parent | spacing (diff) | |
download | gentoo-2-ca2942f1f67007d5c5e644475bb6461bf37f840a.tar.gz gentoo-2-ca2942f1f67007d5c5e644475bb6461bf37f840a.tar.bz2 gentoo-2-ca2942f1f67007d5c5e644475bb6461bf37f840a.zip |
fix #6978: only run dod con the files that actually exist, to eliminate a harmless error/warning from dodoc about nonexistant files
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index fdb6418e3c1b..80840102161b 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.57 2002/09/07 20:09:57 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.58 2002/09/10 09:56:12 danarmak Exp $ # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here. inherit base kde-functions ECLASS=kde @@ -107,7 +107,9 @@ kde_src_install() { ;; dodoc) debug-print-section dodoc - dodoc AUTHORS ChangeLog README* COPYING NEWS TODO + for doc in AUTHORS ChangeLog* README* COPYING NEWS TODO; do + [ -f "$doc" ] && dodoc $doc + done ;; all) debug-print-section all |