summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-09-10 09:56:12 +0000
committerDan Armak <danarmak@gentoo.org>2002-09-10 09:56:12 +0000
commita095dbd88f6965408c406fde089ef127f2dd9f37 (patch)
tree59d3850620f13b101ef7f0f45e0654d234c20afe /eclass
parentspacing (diff)
downloadhistorical-a095dbd88f6965408c406fde089ef127f2dd9f37.tar.gz
historical-a095dbd88f6965408c406fde089ef127f2dd9f37.tar.bz2
historical-a095dbd88f6965408c406fde089ef127f2dd9f37.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')
-rw-r--r--eclass/kde.eclass6
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