commit: 912353a6753e31c56cf254da1b175f9ee11f8411
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Oct 7 23:13:50 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 17:20:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912353a6
kde5.eclass: Add KDE_DOX_DIR variable
Defaults to ".". Otherwise, use alternative KDE doxygen path
eclass/kde5.eclass | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 85d2cd7..374c048 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
}