1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
From db2b6a640777f77d83d253c41746e31c9715c1db Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Tue, 16 Dec 2025 08:52:41 +0100
Subject: [PATCH] Fix build with doxygen 1.14 and later
The build script explicitly selects which files created by doxygen
that should be copied to the installed documentation by listing
specific file types: *.html *.css *.png.
The latest versions of doxygen do not create any *.png files when
using the gridsite Doxyfile. It does however produce a few *.js files
and a *.svg file. Since there are no *.png files created the build
fails:
mkdir -p ../doc/doxygen
cp -f doxygen/*.html doxygen/*.css doxygen/*.png ../doc/doxygen
cp: cannot stat 'doxygen/*.png': No such file or directory
make[2]: *** [Makefile:285: apidoc] Error 1
This commit changes the copy statement to copy all files regardless of
file type, so that it works with any version of doxygen.
This build failure was reported to both RedHat bugzilla and Debian BTS:
- https://bugzilla.redhat.com/show_bug.cgi?id=2385037
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122423
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 67d467f..000ccd8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -282,7 +282,7 @@ apidoc:
date
doxygen Doxyfile
mkdir -p ../doc/doxygen
- cp -f doxygen/*.html doxygen/*.css doxygen/*.png ../doc/doxygen
+ cp -f doxygen/* ../doc/doxygen
cd ../doc ; for i in *.1 *.8 ; do ../src/roffit < $$i \
> $$i.html ; done
--
2.52.0
|