diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-08-10 12:32:36 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-08-10 12:43:17 +0800 |
commit | 95f338849ca7de74a3c97ada366ed4b99f677c88 (patch) | |
tree | f3e4453bd514fd287cee130ab020a556b263ea24 | |
parent | sys-devel/remake: handle automagic guile dep (diff) | |
download | gentoo-95f338849ca7de74a3c97ada366ed4b99f677c88.tar.gz gentoo-95f338849ca7de74a3c97ada366ed4b99f677c88.tar.bz2 gentoo-95f338849ca7de74a3c97ada366ed4b99f677c88.zip |
dev-libs/libunistring: clean up code to use more EAPI=5 logic
-rw-r--r-- | dev-libs/libunistring/libunistring-0.9.6.ebuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/dev-libs/libunistring/libunistring-0.9.6.ebuild b/dev-libs/libunistring/libunistring-0.9.6.ebuild index a276a2086122..08f726abdb86 100644 --- a/dev-libs/libunistring/libunistring-0.9.6.ebuild +++ b/dev-libs/libunistring/libunistring-0.9.6.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="5" @@ -24,13 +23,11 @@ src_configure() { } src_install() { - dodoc AUTHORS README ChangeLog || die "dodoc failed" + default if use doc; then - dohtml doc/*.html || die "dohtml failed" - doinfo doc/*.info || die "doinfo failed" + dohtml doc/*.html + doinfo doc/*.info fi - emake DESTDIR="${D}" install || die "Install failed" - prune_libtool_files } |