--- ecasound-2.6.0.ebuild.orig 2010-03-02 21:35:42.000000000 +0100 +++ ecasound-2.6.0.ebuild 2010-03-02 21:52:24.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.6 2009/08/01 06:24:06 ssuominen Exp $ @@ -60,9 +60,13 @@ } src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc BUGS NEWS README TODO Documentation/*.txt - use doc && dohtml Documentation/*.html + emake DESTDIR="${D}" install || die + dodoc AUTHORS BUGS COPYING NEWS README TODO || die + if use doc; then + dohtml Documentation/*.html || die + dodoc Documentation/programmers_guide/ecasound_programmers_guide.txt \ + || die + fi } pkg_postinst() {