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
commitc0ac8eacba16ce956f4311747cf095b0ac9cff12 (patch)
treeff416960ce7379e5d3dcdf7a8b743d151fcf81b8 /eclass/horde.eclass
parentmake sure test.php isnt readable #57514 (diff)
downloadgentoo-2-c0ac8eacba16ce956f4311747cf095b0ac9cff12.tar.gz
gentoo-2-c0ac8eacba16ce956f4311747cf095b0ac9cff12.tar.bz2
gentoo-2-c0ac8eacba16ce956f4311747cf095b0ac9cff12.zip
make sure we install docs properly when using cvs #57333
Diffstat (limited to 'eclass/horde.eclass')
-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