1 |
commit: 82765b0cfd1e3c190abbf392cd2215957c453cfa |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Oct 7 23:13:50 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 8 13:07:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=82765b0c |
7 |
|
8 |
kde5.eclass: Add KDE_DOX_DIR variable |
9 |
|
10 |
Defaults to ".". Otherwise, use alternative KDE doxygen path |
11 |
|
12 |
eclass/kde5.eclass | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass |
16 |
index 4ba5a77..ecd07a4 100644 |
17 |
--- a/eclass/kde5.eclass |
18 |
+++ b/eclass/kde5.eclass |
19 |
@@ -64,6 +64,11 @@ else |
20 |
: ${KDE_DOXYGEN:=false} |
21 |
fi |
22 |
|
23 |
+# @ECLASS-VARIABLE: KDE_DOX_DIR |
24 |
+# @DESCRIPTION: |
25 |
+# Defaults to ".". Otherwise, use alternative KDE doxygen path. |
26 |
+: ${KDE_DOX_DIR:=.} |
27 |
+ |
28 |
# @ECLASS-VARIABLE: KDE_EXAMPLES |
29 |
# @DESCRIPTION: |
30 |
# If set to "false", unconditionally ignore a top-level examples subdirectory. |
31 |
@@ -545,7 +550,7 @@ kde5_src_compile() { |
32 |
|
33 |
# Build doxygen documentation if applicable |
34 |
if use_if_iuse doc ; then |
35 |
- kgenapidox . || die |
36 |
+ kgenapidox ${KDE_DOX_DIR} || die |
37 |
fi |
38 |
} |