summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-10-08 01:13:50 +0200
committerMichael Palimaka <kensington@gentoo.org>2015-10-27 04:20:01 +1100
commit912353a6753e31c56cf254da1b175f9ee11f8411 (patch)
tree514f41366f901c70a67aaa9b218a3a632f2a4ece /eclass/kde5.eclass
parentkde5.eclass: nitpicks (diff)
downloadgentoo-912353a6753e31c56cf254da1b175f9ee11f8411.tar.gz
gentoo-912353a6753e31c56cf254da1b175f9ee11f8411.tar.bz2
gentoo-912353a6753e31c56cf254da1b175f9ee11f8411.zip
kde5.eclass: Add KDE_DOX_DIR variable
Defaults to ".". Otherwise, use alternative KDE doxygen path
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass7
1 files changed, 6 insertions, 1 deletions
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
}