From ec4ef1a3fc573e90041392d12334e8bea1cbc037 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 9 Jul 2012 07:33:24 +0000 Subject: Docs are only created when USE=doc. bug #425402 (Portage version: 2.1.10.65/cvs/Linux x86_64) --- app-emulation/qemu-kvm/ChangeLog | 6 +++++- app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild | 7 +++++-- app-emulation/qemu-kvm/qemu-kvm-9999.ebuild | 8 ++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/qemu-kvm/ChangeLog b/app-emulation/qemu-kvm/ChangeLog index f248f95f381b..83cbce38746c 100644 --- a/app-emulation/qemu-kvm/ChangeLog +++ b/app-emulation/qemu-kvm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/qemu-kvm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.129 2012/07/09 07:28:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.130 2012/07/09 07:33:24 cardoe Exp $ + + 09 Jul 2012; Doug Goldstein qemu-kvm-1.1.0.ebuild, + qemu-kvm-9999.ebuild: + Docs are only created when USE=doc. bug #425402 09 Jul 2012; Justin Lecher qemu-kvm-1.1.0.ebuild: Remove unnessecary die's diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild index f1784171d9e6..ac3e3af4ba18 100644 --- a/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild +++ b/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild,v 1.7 2012/07/09 07:28:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.0.ebuild,v 1.8 2012/07/09 07:33:24 cardoe Exp $ EAPI="4" @@ -313,7 +313,10 @@ src_install() { dodoc Changelog MAINTAINERS TODO pci-ids.txt newdoc pc-bios/README README.pc-bios - dohtml qemu-doc.html qemu-tech.html + + if use doc; then + dohtml qemu-doc.html qemu-tech.html || die + fi use python & dobin scripts/kvm/kvm_stat diff --git a/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild b/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild index 9fac21fb3b23..4a4d36ebf7bc 100644 --- a/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild +++ b/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.41 2012/07/08 22:57:39 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.42 2012/07/09 07:33:24 cardoe Exp $ EAPI="4" @@ -313,7 +313,11 @@ src_install() { dodoc Changelog MAINTAINERS TODO pci-ids.txt || die newdoc pc-bios/README README.pc-bios || die - dohtml qemu-doc.html qemu-tech.html || die + + + if use doc; then + dohtml qemu-doc.html qemu-tech.html || die + fi if use python; then dobin scripts/kvm/kvm_stat || die -- cgit v1.2.3-65-gdbad