From 3098b7bf584e87665388b1350e16cb62dfaba3f7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 20 Nov 2011 08:19:23 +0000 Subject: see if the doc target exists before we try to build it #348626 by Thomas Kahle --- eclass/enlightenment.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad