summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-20 03:15:38 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-20 03:15:38 +0000
commit487e59836c38421fa4bd8987211fe50ee94607ed (patch)
tree26880281c6b1763a911504e991a672ebce99d62b /eclass/toolchain.eclass
parentVersion bump #234535. (diff)
downloadgentoo-2-487e59836c38421fa4bd8987211fe50ee94607ed.tar.gz
gentoo-2-487e59836c38421fa4bd8987211fe50ee94607ed.tar.bz2
gentoo-2-487e59836c38421fa4bd8987211fe50ee94607ed.zip
doxygen target changed with gcc-4.3 #232078
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass11
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4f17db9e495f..a64f5605dd11 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.360 2008/08/11 22:40:31 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.361 2008/08/20 03:15:38 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1451,8 +1451,13 @@ gcc_do_make() {
if ! is_crosscompile && ! use nocxx && use doc ; then
if type -p doxygen > /dev/null ; then
- cd "${CTARGET}"/libstdc++-v3
- emake doxygen-man || ewarn "failed to make docs"
+ if tc_version_is_at_least 4.3 ; then
+ cd "${CTARGET}"/libstdc++-v3/doc
+ emake doc-man-doxygen || ewarn "failed to make docs"
+ elif tc_version_is_at_least 3.0 ; then
+ cd "${CTARGET}"/libstdc++-v3
+ emake doxygen-man || ewarn "failed to make docs"
+ fi
else
ewarn "Skipping libstdc++ manpage generation since you don't have doxygen installed"
fi