El mié, 24-09-2008 a las 02:35 +0200, Robert Buchholz escribió:
>
> Let's go with an even simpler default implementation:
>
> default_src_install() {
> if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
> emake DESTDIR="${D}" install || die "emake install failed"
> fi
> if [ -n "${DOCS}" ]; then
> dodoc ${DOCS} || die "dodoc failed"
> fi
> }
>
> It addresses the following issues:
> * Do not run einstall if emake fails
> * Run dodoc even if no Makefile is present, this might come in handy for
> ebuilds calling default()
> * die dodoc failure case
> * hopefully fix the flaws (not really) pointed out by zlin
> Looks far better. In my opinion, that would be an acceptable implementation of default_src_install. Regards, -- Santiago Moisés Mola Jabber: [EMAIL PROTECTED] | GPG: AAD203B5
signature.asc
Description: Esta parte del mensaje está firmada digitalmente
