From: Mike Frysinger Date: Sun, 20 Nov 2011 08:19:23 +0000 (+0000) Subject: see if the doc target exists before we try to build it #348626 by Thomas Kahle X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2f471f327f48ab6a7c32eef023c0aeee7b4832a3;p=gentoo.git see if the doc target exists before we try to build it #348626 by Thomas Kahle --- diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 0f82430e897a..c0f1c15cd8e6 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.89 2011/07/08 11:35:01 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.90 2011/11/20 08:19:23 vapier Exp $ # @ECLASS: enlightenment.eclass # @MAINTAINER: @@ -162,7 +162,7 @@ enlightenment_src_compile() { if use doc ; then if [[ -x ./gendoc ]] ; then ./gendoc || die - else + elif emake -j1 -n doc >&/dev/null ; then emake doc || die fi fi