Blame AusweisApp2-1.20.1-doxygen_exclude_build_dir.patch

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