summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/doc/api/generate_doxygen.sh
blob: ee509e896112f42e6af7c2e42234005c63073b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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