From c6fca82b2db4d80a3d5d6df39264780218cf694e Mon Sep 17 00:00:00 2001
From: Mihai Moldovan <ionic@ionic.de>
Date: Tue, 29 Sep 2020 16:49:57 +0200
Subject: [PATCH] Make documentation builds reproducible.

Doxygen includes the full path to sources in its documentation by default,
which makes builds non-reproducible.

Instruct it to use the shortest possible path that makes file names unique
instead.
---
 libcomps/docs/Doxyfile.user.in            | 2 +-
 libcomps/src/python/docs/Doxyfile.user.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcomps/docs/Doxyfile.user.in b/libcomps/docs/Doxyfile.user.in
index cf7e5c2..fc0ce52 100644
--- a/libcomps/docs/Doxyfile.user.in
+++ b/libcomps/docs/Doxyfile.user.in
@@ -119,7 +119,7 @@ INLINE_INHERITED_MEMB  = NO
 # path before files name in the file list and in the header files. If set
 # to NO the shortest path that makes the file name unique will be used.
 
-FULL_PATH_NAMES        = YES
+FULL_PATH_NAMES        = NO
 
 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
 # can be used to strip a user-defined part of the path. Stripping is
diff --git a/libcomps/src/python/docs/Doxyfile.user.in b/libcomps/src/python/docs/Doxyfile.user.in
index 8770bfa..5da4c1e 100644
--- a/libcomps/src/python/docs/Doxyfile.user.in
+++ b/libcomps/src/python/docs/Doxyfile.user.in
@@ -119,7 +119,7 @@ INLINE_INHERITED_MEMB  = NO
 # path before files name in the file list and in the header files. If set
 # to NO the shortest path that makes the file name unique will be used.
 
-FULL_PATH_NAMES        = YES
+FULL_PATH_NAMES        = NO
 
 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
 # can be used to strip a user-defined part of the path. Stripping is
-- 
2.25.1

