mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-25 14:15:08 +00:00
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:
parent
dc65afb03a
commit
f64ace4e34
@ -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
2536
doxygen.cfg
Normal file
File diff suppressed because it is too large
Load Diff
12
doxygen.sh
Executable file
12
doxygen.sh
Executable 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
|
||||
@ -227,3 +227,5 @@ endif
|
||||
|
||||
configure_file(output : 'config.h',
|
||||
configuration : spice_server_config_data)
|
||||
|
||||
run_target('doxy', command : './doxygen.sh')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user