Doxygen fix

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2023-09-25 14:40:15 +02:00
parent d143ddbf65
commit bf952b35a9
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,60 @@
diff --git a/Doxyfile b/Doxyfile
index d9442cf..14c1015 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -68,7 +68,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = graphviz/public
+OUTPUT_DIRECTORY = ./public
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
@@ -911,11 +911,11 @@ WARN_LOGFILE =
# because doxygen builds directory dependency graphs only for root children,
# but not for root directory itself.
-INPUT = graphviz/cmd \
- graphviz/lib \
- graphviz/dot.demo \
- graphviz/plugin \
- graphviz/tclpkg
+INPUT = ./cmd \
+ ./lib \
+ ./dot.demo \
+ ./plugin \
+ ./tclpkg
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/Doxyfile.in b/Doxyfile.in
index 050f623..a86c859 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -68,7 +68,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.
-OUTPUT_DIRECTORY = graphviz/public
+OUTPUT_DIRECTORY = ./public
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
@@ -911,11 +911,11 @@ WARN_LOGFILE =
# because doxygen builds directory dependency graphs only for root children,
# but not for root directory itself.
-INPUT = graphviz/cmd \
- graphviz/lib \
- graphviz/dot.demo \
- graphviz/plugin \
- graphviz/tclpkg
+INPUT = ./cmd \
+ ./lib \
+ ./dot.demo \
+ ./plugin \
+ ./tclpkg
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses

View File

@ -207,6 +207,8 @@ Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
# rhbz#1838679
Patch0: graphviz-4.0.0-gvpack-neato-static.patch
# https://gitlab.com/graphviz/graphviz/-/issues/2448
Patch1: graphviz-9.0.0-doxygen-fix.patch
%if ! %{JAVA}
Obsoletes: graphviz-java < %{version}-%{release}