Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek.chauhan@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI
Date: Mon, 29 Sep 2008 05:16:49
Message-Id: 8b4c83ad0809282216x6f890699t35b93d7efb6dfae5@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI by Thomas Sachau
1 On Sat, Sep 27, 2008 at 3:47 PM, Thomas Sachau <tommy@g.o> wrote:
2 > So what about this one?
3 >
4 > default_src_install() {
5 > if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
6 > emake DESTDIR="${D}" install || die "emake install failed"
7 > fi
8 > if [ -n "${DOCS}" ]; then
9 > dodoc ${DOCS} || die "dodoc failed"
10 > else
11 > # No die here because we don't know if any of these exist
12 > dodoc AUTHORS ChangeLog NEWS README
13 > fi
14 > }
15
16 This seems alright fine to me
17
18 Cheers,
19
20 ~Nirbheek Chauhan

Replies

Subject Author
Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI "Petteri Räty" <betelgeuse@g.o>