summaryrefslogtreecommitdiff
path: root/kde-base/pykde4/pykde4-4.3.9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/pykde4/pykde4-4.3.9999.ebuild')
-rw-r--r--kde-base/pykde4/pykde4-4.3.9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/kde-base/pykde4/pykde4-4.3.9999.ebuild b/kde-base/pykde4/pykde4-4.3.9999.ebuild
index 480ab94dc4e..fe78f85e760 100644
--- a/kde-base/pykde4/pykde4-4.3.9999.ebuild
+++ b/kde-base/pykde4/pykde4-4.3.9999.ebuild
@@ -12,7 +12,7 @@ inherit python kde4-meta
DESCRIPTION="Python bindings for KDE4"
KEYWORDS=""
-IUSE="akonadi debug examples policykit semantic-desktop"
+IUSE="akonadi debug doc examples policykit semantic-desktop"
DEPEND="
$(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
@@ -56,6 +56,10 @@ src_configure() {
src_install() {
kde4-meta_src_install
+ if use doc; then
+ dohtml -r "${S}"/python/pykde4/docs/html/* || die 'dohtml failed'
+ fi
+
rm -f \
"${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \
"${ED}${PREFIX}"/share/apps/"${PN}"/*.py[co]