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
parentchangelog:P (diff)
downloadhistorical-a06e32c8c9cb8897a519868941ad1addae2d0a88.tar.gz
historical-a06e32c8c9cb8897a519868941ad1addae2d0a88.tar.bz2
historical-a06e32c8c9cb8897a519868941ad1addae2d0a88.zip
fixed dodoc's
-rw-r--r--eclass/aspell-dict.eclass6
-rw-r--r--eclass/jakarta-commons.eclass6
-rw-r--r--eclass/perl-module.eclass7
-rw-r--r--eclass/perl-post.eclass7
-rw-r--r--eclass/php.eclass7
-rw-r--r--eclass/ruby-gnome2.eclass6
6 files changed, 25 insertions, 14 deletions
diff --git a/eclass/aspell-dict.eclass b/eclass/aspell-dict.eclass
index f133464f2048..57690a80f008 100644
--- a/eclass/aspell-dict.eclass
+++ b/eclass/aspell-dict.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/aspell-dict.eclass,v 1.19 2003/09/16 04:05:42 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.20 2003/10/19 11:50:36 lanius Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
@@ -37,5 +37,7 @@ aspell-dict_src_install() {
make DESTDIR=${D} install || die
- dodoc Copyright README info
+ for doc in Copyright README info; do
+ [ -s "$doc" ] && dodoc $doc
+ done
}
diff --git a/eclass/jakarta-commons.eclass b/eclass/jakarta-commons.eclass
index d01263c2e8fa..4ee4a36dc9db 100644
--- a/eclass/jakarta-commons.eclass
+++ b/eclass/jakarta-commons.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/jakarta-commons.eclass,v 1.5 2003/05/15 18:52:51 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/jakarta-commons.eclass,v 1.6 2003/10/19 11:50:36 lanius Exp $
inherit base java-pkg
ECLASS=jakarta-commons
@@ -115,8 +115,8 @@ jakarta-commons_src_install() {
;;
dohtml)
debug-print-section dohtml
- [ -f LICENSE.txt ] && dodoc LICENSE.txt
- [ -f RELEASE-NOTES.txt ] && dodoc RELEASE-NOTES.txt
+ [ -s LICENSE.txt ] && dodoc LICENSE.txt
+ [ -s RELEASE-NOTES.txt ] && dodoc RELEASE-NOTES.txt
[ -n $(ls -1 *.html 2> /dev/null | wc -l ) ] && dohtml *.html
[ -n $(ls -1 dist/*.html 2> /dev/null | wc -l ) ] && dohtml dist/*.html
[ -n $(ls -1 dist/docs/* 2> /dev/null | wc -l ) ] && dohtml -r dist/docs/*
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 195e9e862738..1468a6418924 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.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-module.eclass,v 1.52 2003/09/25 09:02:19 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.53 2003/10/19 11:50:36 lanius Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
@@ -127,7 +127,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}
}
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}
}
diff --git a/eclass/php.eclass b/eclass/php.eclass
index 911d53e4b6ef..c3343d9c8664 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.81 2003/10/10 19:57:04 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.82 2003/10/19 11:50:36 lanius Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -437,8 +437,9 @@ php_src_install() {
# put make here
- dodoc LICENSE EXTENSIONS CREDITS INSTALL
- dodoc README.* TODO* NEWS
+ for doc in LICENSE EXTENSIONS CREDITS INSTALL README.* TODO* NEWS; do
+ [ -s "$doc" ] && dodoc $doc
+ done
#install scripts
exeinto /usr/bin
diff --git a/eclass/ruby-gnome2.eclass b/eclass/ruby-gnome2.eclass
index 86bfc6c50b85..2d422b96ea09 100644
--- a/eclass/ruby-gnome2.eclass
+++ b/eclass/ruby-gnome2.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/ruby-gnome2.eclass,v 1.1 2003/08/06 13:31:54 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-gnome2.eclass,v 1.2 2003/10/19 11:50:36 lanius Exp $
#
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.
@@ -31,7 +31,9 @@ ruby-gnome2_src_compile() {
ruby-gnome2_src_install() {
make DESTDIR=${D} install || die "make install failed"
- dodoc ../AUTHORS ../NEWS ChangeLog README
+ for doc in ../AUTHORS ../NEWS ChangeLog README; do
+ [ -s "$doc" ] && dodoc $doc
+ done
if [[ -d sample ]]; then
dodir /usr/share/doc/${PF}
cp -a sample ${D}/usr/share/doc/${PF} || die "cp failed"