Includes samples dir with USE="examples"
authorRichard Brown <rbrown@gentoo.org>
Sat, 10 Mar 2007 10:27:45 +0000 (10:27 +0000)
committerRichard Brown <rbrown@gentoo.org>
Sat, 10 Mar 2007 10:27:45 +0000 (10:27 +0000)
eclass/ruby.eclass

index 38da2dc2377c5493f25180634f91b30039a52634..352ffc7f7288f4ddf017990f4e3055cf7a457d5a 100644 (file)
@@ -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/ruby.eclass,v 1.62 2007/01/31 13:46:07 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.63 2007/03/10 10:27:45 rbrown Exp $
 #
 # Author: Mamoru KOMACHI <usata@gentoo.org>
 #
@@ -174,7 +174,7 @@ erubydoc() {
        fi
 
        if ( use examples ); then
-               for dir in sample example examples; do
+               for dir in sample samples example examples; do
                        if [ -d ${dir} ] ; then
                                dodir /usr/share/doc/${PF}
                                cp -pPR ${dir} ${D}/usr/share/doc/${PF} || die "cp failed"