summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-30 15:56:17 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-30 15:56:17 +0200
commit854b671cdc88259bcdd4210456d64a049b775eff (patch)
tree4879e0b09c18bc87de4af95cdb00456a270ed1b8
parent0c1e6e82549bb37afd01fa2dd3e049d716c35e44 (diff)
Doxygen docs w/configure/make: convert config to current version
The intermediate files 'Doxyfile' and 'Doxybook' are now converted to the current Doxygen version and the short form ('-s') when using configure+make as it was already done in CMake builds. This is to avoid Doxygen warnings and for better readability of the Doxygen config files which are created during the build.
-rw-r--r--documentation/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 349c7a209..245dc2ee1 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -140,6 +140,7 @@ uninstall-linux uninstall-osx:
Doxyfile: Doxyfile.in generated.dox copyright.dox
echo "Generating Doxyfile ..."
+ $(DOXYDOC) -u -s - < $< | \
sed -e's,@FLTK_VERSION@,$(FLTK_VERSION),' \
-e's,@GENERATE_HTML@,YES,' \
-e's,@GENERATE_LATEX@,NO,' \
@@ -147,10 +148,11 @@ Doxyfile: Doxyfile.in generated.dox copyright.dox
-e's,@CMAKE_CURRENT_SOURCE_DIR@,.,' \
-e's,@CMAKE_CURRENT_BINARY_DIR@,,' \
-e's,@FLTK_SOURCE_DIR@,..,' \
- < $< > $@
+ > $@
Doxybook: Doxyfile.in generated.dox copyright.dox
echo "Generating Doxybook ..."
+ $(DOXYDOC) -u -s - < $< | \
sed -e's,@FLTK_VERSION@,$(FLTK_VERSION),' \
-e's,@GENERATE_HTML@,NO,' \
-e's,@GENERATE_LATEX@,YES,' \
@@ -158,7 +160,7 @@ Doxybook: Doxyfile.in generated.dox copyright.dox
-e's,@CMAKE_CURRENT_SOURCE_DIR@,.,' \
-e's,@CMAKE_CURRENT_BINARY_DIR@,,' \
-e's,@FLTK_SOURCE_DIR@,..,' \
- < $< > $@
+ > $@
# The HTML files are generated using doxygen, and this needs
# an installed doxygen version and may take some time, so this target