add $DOCS variable for src_install phase
authorDoug Goldstein <cardoe@gentoo.org>
Thu, 21 Feb 2008 22:50:51 +0000 (22:50 +0000)
committerDoug Goldstein <cardoe@gentoo.org>
Thu, 21 Feb 2008 22:50:51 +0000 (22:50 +0000)
eclass/x-modular.eclass

index 36b6821426188b0347f6a807ae3210d3e543de07..016f2368e0c33baa43c6c716768e64db01ccdba0 100644 (file)
@@ -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.89 2007/11/13 22:50:04 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.90 2008/02/21 22:50:51 cardoe Exp $
 #
 # Author: Donnie Berkholz <dberkholz@gentoo.org>
 #
@@ -367,6 +367,7 @@ x-modular_src_install() {
        if [[ -e ${S}/ChangeLog ]]; then
                dodoc ${S}/ChangeLog
        fi
+       [[ -n $DOCS ]] && dodoc $DOCS
 
        # Make sure docs get compressed
        prepalldocs