From: Andreas Sturmlechner Date: Wed, 7 Oct 2015 23:13:50 +0000 (+0200) Subject: kde5.eclass: Add KDE_DOX_DIR variable X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=912353a6753e31c56cf254da1b175f9ee11f8411;p=gentoo.git kde5.eclass: Add KDE_DOX_DIR variable Defaults to ".". Otherwise, use alternative KDE doxygen path --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 85d2cd77450a..374c048152b7 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -64,6 +64,11 @@ else : ${KDE_DOXYGEN:=false} fi +# @ECLASS-VARIABLE: KDE_DOX_DIR +# @DESCRIPTION: +# Defaults to ".". Otherwise, use alternative KDE doxygen path. +: ${KDE_DOX_DIR:=.} + # @ECLASS-VARIABLE: KDE_EXAMPLES # @DESCRIPTION: # If set to "false", unconditionally ignore a top-level examples subdirectory. @@ -488,7 +493,7 @@ kde5_src_compile() { # Build doxygen documentation if applicable if use_if_iuse doc ; then - kgenapidox . || die + kgenapidox ${KDE_DOX_DIR} || die fi }