build: Add Doxygen support

Add configuration file for Doxygen.
Add a "doxy" target to both Meson and Autoconf using a simple
shell script.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Julien Ropé <jrope@gmail.com>
This commit is contained in:
Frediano Ziglio 2020-06-10 10:13:05 +01:00
parent dc65afb03a
commit f64ace4e34
4 changed files with 2553 additions and 0 deletions

View File

@ -33,3 +33,6 @@ dist-hook:
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
doxy:
$(srcdir)/doxygen.sh

2536
doxygen.cfg Normal file

File diff suppressed because it is too large Load Diff

12
doxygen.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -e # exit on errors
SRCDIR=`dirname $0`
test -z "$SRCDIR" && SRCDIR=.
cd "$SRCDIR"
export SRCDIR
rm -rf doxygen_doc
doxygen doxygen.cfg
echo Timestamp > doxygen_doc/spice.tag

View File

@ -227,3 +227,5 @@ endif
configure_file(output : 'config.h',
configuration : spice_server_config_data)
run_target('doxy', command : './doxygen.sh')