summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild')
-rw-r--r--dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild b/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild
index cf18f5b90f98..9672cf4b010c 100644
--- a/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild
+++ b/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild,v 1.3 2005/04/21 20:55:50 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0-r1.ebuild,v 1.4 2005/07/28 13:00:24 dragonheart Exp $
ECVS_SERVER="cvs.sourceforge.net:/cvsroot/sdcc"
@@ -33,13 +33,17 @@ RDEPEND="virtual/libc
src_compile() {
econf || die "Configure failed"
emake || die "Make failed"
- use doc && {
+ if use doc
+ then
emake -C doc || die "Making documentation failed"
- }
+ fi
}
src_install() {
emake DESTDIR=${D} install || die "Make install failed"
dodoc ChangeLog doc/README.txt doc/libdoc.txt doc/INSTALL.txt
- use doc && emake -C doc docdir=${D}/usr/share/doc/${PF} install
+ if use doc
+ then
+ emake -C doc docdir=${D}/usr/share/doc/${PF} install || die "Make install on documentation failed"
+ fi
}