diff options
author | eroen <eroen@occam.eroen.eu> | 2013-01-12 02:17:37 +0100 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2014-04-27 02:56:29 +0200 |
commit | 94261faeb7886c88f3c4ded246dc1a3e6d685cd2 (patch) | |
tree | ae1401cfb5196347b3b465d11b3f317bc75a54ec | |
parent | lxc - fix backwards use_enable (diff) | |
download | eroen-94261faeb7886c88f3c4ded246dc1a3e6d685cd2.tar.gz eroen-94261faeb7886c88f3c4ded246dc1a3e6d685cd2.tar.bz2 eroen-94261faeb7886c88f3c4ded246dc1a3e6d685cd2.zip |
lxc-0.8.0-r2: Make man page generation optional
Generating the man pages depends on docbook.
There is a precedent for this (also docbook related) in
libcmis/libcmis-0.2.3-r1
-rw-r--r-- | app-emulation/lxc/lxc-0.8.0-r2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-emulation/lxc/lxc-0.8.0-r2.ebuild b/app-emulation/lxc/lxc-0.8.0-r2.ebuild index 37a8839..a304282 100644 --- a/app-emulation/lxc/lxc-0.8.0-r2.ebuild +++ b/app-emulation/lxc/lxc-0.8.0-r2.ebuild @@ -24,12 +24,12 @@ KEYWORDS="~amd64 ~arm ~ppc64 ~x86" LICENSE="LGPL-3" SLOT="0" -IUSE="examples" +IUSE="examples +man" RDEPEND="sys-libs/libcap" DEPEND="${RDEPEND} - app-text/docbook-sgml-utils + man? ( app-text/docbook-sgml-utils ) >=sys-kernel/linux-headers-3.2" RDEPEND="${RDEPEND} @@ -100,7 +100,7 @@ src_configure() { --docdir=/usr/share/doc/${PF} \ --with-config-path=/etc/lxc \ --with-rootfs-path=/usr/lib/lxc/rootfs \ - --enable-doc \ + $(use_enable man doc) \ --disable-apparmor \ $(use_enable examples) } |