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.
This commit is contained in:
Albrecht Schlosser 2023-08-30 15:56:17 +02:00
parent 0c1e6e8254
commit 854b671cdc

View File

@ -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