/[gentoo-x86]/eclass/enlightenment.eclass
Gentoo

Diff of /eclass/enlightenment.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.94 Revision 1.95
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/enlightenment.eclass,v 1.94 2012/09/27 16:35:41 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.95 2012/10/22 10:14:31 tommy Exp $
4 4
5# @ECLASS: enlightenment.eclass 5# @ECLASS: enlightenment.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# enlightenment@gentoo.org 7# enlightenment@gentoo.org
8# @BLURB: simplify enlightenment package management 8# @BLURB: simplify enlightenment package management
145} 145}
146 146
147enlightenment_src_compile() { 147enlightenment_src_compile() {
148 has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure 148 has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
149 149
150 emake || die 150 V=1 emake || die
151 151
152 if use doc ; then 152 if use doc ; then
153 if [[ -x ./gendoc ]] ; then 153 if [[ -x ./gendoc ]] ; then
154 ./gendoc || die 154 ./gendoc || die
155 elif emake -j1 -n doc >&/dev/null ; then 155 elif emake -j1 -n doc >&/dev/null ; then
156 emake doc || die 156 V=1 emake doc || die
157 fi 157 fi
158 fi 158 fi
159} 159}
160 160
161enlightenment_src_install() { 161enlightenment_src_install() {
162 emake install DESTDIR="${D}" || die 162 V=1 emake install DESTDIR="${D}" || die
163 find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null 163 find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
164 for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do 164 for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
165 [[ -f ${d} ]] && dodoc ${d} 165 [[ -f ${d} ]] && dodoc ${d}
166 done 166 done
167 use doc && [[ -d doc ]] && dohtml -r doc/* 167 use doc && [[ -d doc ]] && dohtml -r doc/*

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

  ViewVC Help
Powered by ViewVC 1.1.20