diff options
Diffstat (limited to 'src/spdk/dpdk/doc/api/generate_doxygen.sh')
-rwxr-xr-x | src/spdk/dpdk/doc/api/generate_doxygen.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/spdk/dpdk/doc/api/generate_doxygen.sh b/src/spdk/dpdk/doc/api/generate_doxygen.sh new file mode 100755 index 000000000..ee509e896 --- /dev/null +++ b/src/spdk/dpdk/doc/api/generate_doxygen.sh @@ -0,0 +1,13 @@ +#! /bin/sh -e +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2018 Luca Boccassi <bluca@debian.org> + +DOXYCONF=$1 +OUTDIR=$2 +SCRIPTCSS=$3 + +# run doxygen, capturing all the header files it processed +doxygen "${DOXYCONF}" | tee doxygen.out +echo "$OUTDIR: $(awk '/Preprocessing/ {printf("%s ", substr($2, 1, length($2) - 3))}' doxygen.out)" > $OUTDIR.d + +"${SCRIPTCSS}" "${OUTDIR}"/doxygen.css |