summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-05-23 17:50:30 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-05-23 17:50:30 +0000
commit1d1a3376de3d2636df0143dabb53ec371a13de0d (patch)
tree7711c23f78e469fa761d7931e14b2662eb3f2453 /eclass
parentStable on sparc (diff)
downloadgentoo-2-1d1a3376de3d2636df0143dabb53ec371a13de0d.tar.gz
gentoo-2-1d1a3376de3d2636df0143dabb53ec371a13de0d.tar.bz2
gentoo-2-1d1a3376de3d2636df0143dabb53ec371a13de0d.zip
Install ChangeLog if it exists.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/x-modular.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 89ff7fc8e0f1..d3ed9d92c988 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.59 2006/05/16 06:23:43 exg Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.60 2006/05/23 17:50:30 spyderous Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -327,6 +327,10 @@ x-modular_src_install() {
# datadir=${XDIR}/share \
# mandir=${XDIR}/share/man \
+ if [[ -e ${S}/ChangeLog ]]; then
+ dodoc ${S}/ChangeLog
+ fi
+
# Make sure docs get compressed
prepalldocs