diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 04:16:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 04:16:02 +0000 |
commit | 6009515be03a1ae38a53393b58ca8e551494e561 (patch) | |
tree | 5bfc366c18ddbf994de896687763d89ec0f05051 /eclass | |
parent | arm/ia64 love (diff) | |
download | historical-6009515be03a1ae38a53393b58ca8e551494e561.tar.gz historical-6009515be03a1ae38a53393b58ca8e551494e561.tar.bz2 historical-6009515be03a1ae38a53393b58ca8e551494e561.zip |
prune bogus generated manpages #113902
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9541a6ddaa20..d12c0f2f91a8 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.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/toolchain.eclass,v 1.221 2005/11/30 04:01:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.222 2005/11/30 04:16:02 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1622,11 +1622,14 @@ gcc-compiler_src_install() { rm -rf "${D}"/usr/share/{man,info} rm -rf "${D}"${DATAPATH}/{man,info} else - if [[ -d ${WORKDIR}/build/${CTARGET}/libstdc++-v3/docs/doxygen/man ]] ; then - cp -r ${WORKDIR}/build/${CTARGET}/libstdc++-v3/docs/doxygen/man/man? ${D}/${DATAPATH}/man/ + local cxx_mandir=${WORKDIR}/build/${CTARGET}/libstdc++-v3/docs/doxygen/man + if [[ -d ${cxx_mandir} ]] ; then + # clean bogus manpages #113902 + find "${cxx_mandir}" -name '*_build_*' -exec rm {} \; + cp -r "${cxx_mandir}"/man? "${D}/${DATAPATH}"/man/ fi - prepman ${DATAPATH} - prepinfo ${DATAPATH} + prepman "${DATAPATH}" + prepinfo "${DATAPATH}" fi # Rather install the script, else portage with changing $FILESDIR |