# 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:
if use doc ; then
if [[ -x ./gendoc ]] ; then
./gendoc || die
- else
+ elif emake -j1 -n doc >&/dev/null ; then
emake doc || die
fi
fi