summaryrefslogtreecommitdiff
path: root/eclass
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
commit25c813586ad8bd8a9d3efdf84c414ab856728a43 (patch)
treef8e599eeb25cc596fccd577796287bff4bd9c65a /eclass
parentVersion bump #234535. (diff)
downloadhistorical-25c813586ad8bd8a9d3efdf84c414ab856728a43.tar.gz
historical-25c813586ad8bd8a9d3efdf84c414ab856728a43.tar.bz2
historical-25c813586ad8bd8a9d3efdf84c414ab856728a43.zip
doxygen target changed with gcc-4.3 #232078
Diffstat (limited to '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