Gentoo Archives: gentoo-dev

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI
Date: Tue, 23 Sep 2008 23:21:15
Message-Id: 200809240121.04326.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI by Thomas Sachau
1 On Tuesday 23 September 2008 21:39:52 Thomas Sachau wrote:
2 > default_src_install() {
3 >         if [ -f Makefile -o -f GNUmakefile -o -f makefile ]; then
4 >                 if emake DESTDIR="${D} install || einstall ; then
5 >                         die "install failed"
6 >                 else
7 >                         if [[ -n ${DOCS} ]]; then
8 >                                 dodoc ${DOCS} || die "dodoc failed"
9 >                         fi
10 >                 fi
11 >         fi
12 > }
13 >
14 > Any more comments? Good? Bad? Interested?
15
16 Now figure out the four flaws in the above code.
17
18 --
19 Bo Andresen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI Alec Warner <antarus@g.o>
Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI Nirbheek Chauhan <nirbheek.chauhan@×××××.com>