summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-24 12:03:16 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-24 13:32:18 -0500
commit29b2a22c38d92b3cd5259086ae00bb0527a55bf8 (patch)
tree33d7aeff120a60bdf3feb5d32b3b5869cd24d8ce
parent81bcf854a1420ebc8f81665c7278a09e444e86db (diff)
downloadgentoo-29b2a22c38d92b3cd5259086ae00bb0527a55bf8.tar.gz
gentoo-29b2a22c38d92b3cd5259086ae00bb0527a55bf8.tar.xz
sys-apps/pkgcore: simplify man/docs build conditionals
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
index 0cf49627109..a0bfcfd7695 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -41,8 +41,7 @@ pkg_setup() {
}
python_compile_all() {
- [[ ${PV} == *9999 ]] && esetup.py build_man
- use doc && esetup.py build_docs
+ esetup.py build_man $(usex doc "build_docs" "")
}
python_test() {