summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2004-01-21 05:06:27 +0000
committerAdrian Almenar <strider@gentoo.org>2004-01-21 05:06:27 +0000
commite4de77c2125b5855cc978c1e8a5bacd889c76456 (patch)
tree8b05aa2718e7ca01474f02e71cd73f1296e685cb /dev-java/commons-beanutils
parentVersion bumped. Added ocaml to IUSE. (diff)
downloadgentoo-2-e4de77c2125b5855cc978c1e8a5bacd889c76456.tar.gz
gentoo-2-e4de77c2125b5855cc978c1e8a5bacd889c76456.tar.bz2
gentoo-2-e4de77c2125b5855cc978c1e8a5bacd889c76456.zip
Little fix.
Diffstat (limited to 'dev-java/commons-beanutils')
-rw-r--r--dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild
index c87fadaff273..8b8d5f95834a 100644
--- a/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild
+++ b/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild,v 1.1 2004/01/21 02:48:49 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.6.1-r1.ebuild,v 1.2 2004/01/21 05:06:27 strider Exp $
inherit java-pkg
@@ -50,5 +50,8 @@ src_install () {
java-pkg_dojar dist/${PN}*.jar || die "Unable to install"
dodoc RELEASE-NOTES.txt LICENSE
dohtml STATUS.html PROPOSAL.html
- dohtml -r dist/docs/*
+
+ if [ -n "`use doc`" ] ; then
+ dohtml -r dist/docs/*
+ fi
}