Blame AusweisApp2-1.20.1-doxygen_exclude_build_dir.patch

fe69b5a
From 7da59790e72ed2073a58f612772aa3fd18022f87 Mon Sep 17 00:00:00 2001
fe69b5a
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
fe69b5a
Date: Fri, 21 Aug 2020 12:42:43 +0200
fe69b5a
Subject: [PATCH] Doxyfile: Exclude binary, CMake, libs, and test directories.
fe69b5a
MIME-Version: 1.0
fe69b5a
Content-Type: text/plain; charset=UTF-8
fe69b5a
Content-Transfer-Encoding: 8bit
fe69b5a
fe69b5a
These directories do not contain any useful source files
fe69b5a
for the documentation of the internal API of AusweisApp2,
fe69b5a
and thus should not be included in its API documentation
fe69b5a
generated by Doxygen.
fe69b5a
fe69b5a
Additionally this comes in handy for distributing the API
fe69b5a
documentation architecture independent, when the name of
fe69b5a
the binary directory contains the name of the system's
fe69b5a
architecture the build is targeted to.
fe69b5a
fe69b5a
Also explicitly set the 'FULL_PATH_NAMES' parameter to 'YES',
fe69b5a
as this is needed for properly stripping and/or excluding
fe69b5a
the paths during generation of the documentation files.
fe69b5a
fe69b5a
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
fe69b5a
---
fe69b5a
 Doxyfile.in | 3 +++
fe69b5a
 1 file changed, 3 insertions(+)
fe69b5a
fe69b5a
diff --git a/Doxyfile.in b/Doxyfile.in
fe69b5a
index 7c4633f..2242bff 100644
fe69b5a
--- a/Doxyfile.in
fe69b5a
+++ b/Doxyfile.in
fe69b5a
@@ -11,7 +11,10 @@ OPTIMIZE_OUTPUT_C      = YES
fe69b5a
 QT_AUTOBRIEF           = YES
fe69b5a
 BUILTIN_STL_SUPPORT    = YES
fe69b5a
 GENERATE_TREEVIEW      = YES
fe69b5a
+FULL_PATH_NAMES        = YES
fe69b5a
 STRIP_FROM_PATH        = @PROJECT_SOURCE_DIR@
fe69b5a
+EXCLUDE_PATTERNS       = @PROJECT_BINARY_DIR@/* \
fe69b5a
+                         */CMake* */libs/* */test/*
fe69b5a
 
fe69b5a
 SEARCHENGINE           = YES
fe69b5a
 COLS_IN_ALPHA_INDEX    = 10