summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-30 13:26:19 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-30 13:26:19 +0000
commit9643cb1570167db7f28795afd633bab9a67131d5 (patch)
tree8d2ac6afff3d1a5584b2dad128575ce8b4c20e6b
parentmake sure test.php isnt readable #57514 (diff)
downloadhistorical-9643cb1570167db7f28795afd633bab9a67131d5.tar.gz
historical-9643cb1570167db7f28795afd633bab9a67131d5.tar.bz2
historical-9643cb1570167db7f28795afd633bab9a67131d5.zip
make sure we install docs properly when using cvs #57333
-rw-r--r--eclass/horde.eclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/horde.eclass b/eclass/horde.eclass
index fdef3c1281cf..c1946a7c5286 100644
--- a/eclass/horde.eclass
+++ b/eclass/horde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.10 2004/07/30 13:23:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.11 2004/07/30 13:26:19 vapier Exp $
#
# Help manage the horde project http://www.horde.org/
#
@@ -82,16 +82,14 @@ horde_src_install() {
local destdir=${MY_HTDOCSDIR}/horde
[ "${HORDE_PN}" != "horde" ] && destdir=${destdir}/${HORDE_PN}
+ # Work-around when dealing with CVS sources
+ [ "${EHORDE_CVS}" == "true" ] && cd ${HORDE_PN}
+
dodoc README docs/*
rm -rf COPYING LICENSE README docs
dodir ${destdir}
-
- # Work-around when dealing with CVS sources
- [ "${EHORDE_CVS}" == "true" ] && cd ${HORDE_PN}
-
cp -r . ${D}/${destdir}/
-
webapp_serverowned ${MY_HTDOCSDIR}
webapp_src_install