diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-12 04:54:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-12 04:54:10 +0000 |
commit | 9def99e00255c9800bfd261e7716afb12b368c1c (patch) | |
tree | b46542cee489b15652594ee5d4258b5088c6eebc /eclass/toolchain.eclass | |
parent | Bug #91720 - version bump. (diff) | |
download | gentoo-2-9def99e00255c9800bfd261e7716afb12b368c1c.tar.gz gentoo-2-9def99e00255c9800bfd261e7716afb12b368c1c.tar.bz2 gentoo-2-9def99e00255c9800bfd261e7716afb12b368c1c.zip |
respect noinfo/noman FEATURES
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b9bfd4b2b44e..a767fcd67155 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.230 2005/12/09 22:16:03 kevquinn Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.231 2005/12/12 04:54:10 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1629,8 +1629,12 @@ gcc-compiler_src_install() { find "${cxx_mandir}" -name '*_build_*' -exec rm {} \; cp -r "${cxx_mandir}"/man? "${D}/${DATAPATH}"/man/ fi - prepman "${DATAPATH}" - prepinfo "${DATAPATH}" + has noinfo ${FEATURES} \ + && rm -r "${DATAPATH}"/info \ + || prepinfo "${DATAPATH}" + has noman ${FEATURES} \ + && rm -f "${DATAPATH}"/man \ + || prepman "${DATAPATH}" fi # Rather install the script, else portage with changing $FILESDIR |