summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-19 11:50:36 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-19 11:50:36 +0000
commita06e32c8c9cb8897a519868941ad1addae2d0a88 (patch)
tree42f66fd404aa6cb2370b3db815e69be49f80df33 /eclass/perl-post.eclass
parentchangelog:P (diff)
downloadhistorical-a06e32c8c9cb8897a519868941ad1addae2d0a88.tar.gz
historical-a06e32c8c9cb8897a519868941ad1addae2d0a88.tar.bz2
historical-a06e32c8c9cb8897a519868941ad1addae2d0a88.zip
fixed dodoc's
Diffstat (limited to 'eclass/perl-post.eclass')
-rw-r--r--eclass/perl-post.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/perl-post.eclass b/eclass/perl-post.eclass
index 7ed385fe181a..fb450a199557 100644
--- a/eclass/perl-post.eclass
+++ b/eclass/perl-post.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-post.eclass,v 1.13 2003/08/22 09:17:52 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-post.eclass,v 1.14 2003/10/19 11:50:36 lanius Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
@@ -115,7 +115,10 @@ perl-module_src_install() {
sed -i -e "s:${D}:/:g" ${FILE}
done
- dodoc Change* MANIFEST* README* ${mydoc}
+ for doc in Change* MANIFEST* README*; do
+ [ -s "$doc" ] && dodoc $doc
+ done
+ dodoc ${mydoc}
}