| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.105 2012/05/02 21:05:38 eva Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.106 2012/05/09 08:23:14 pacho Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
| 8 | # @BLURB: |
8 | # @BLURB: |
| … | |
… | |
| 115 | fi |
115 | fi |
| 116 | fi |
116 | fi |
| 117 | |
117 | |
| 118 | # Prevent a QA warning |
118 | # Prevent a QA warning |
| 119 | if has doc ${IUSE} ; then |
119 | if has doc ${IUSE} ; then |
| 120 | G2CONF="${G2CONF} $(use_enable doc gtk-doc)" |
120 | grep -q "enable-gtk-doc" configure && G2CONF="${G2CONF} $(use_enable doc gtk-doc)" |
| 121 | fi |
121 | fi |
| 122 | |
122 | |
| 123 | # Pass --disable-maintainer-mode when needed |
123 | # Pass --disable-maintainer-mode when needed |
| 124 | if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then |
124 | if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then |
| 125 | G2CONF="${G2CONF} --disable-maintainer-mode" |
125 | G2CONF="${G2CONF} --disable-maintainer-mode" |