2018-09-11 20:42:36 +00:00
|
|
|
#! /bin/sh -e
|
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2018 Luca Boccassi <bluca@debian.org>
|
|
|
|
|
|
|
|
DOXYCONF=$1
|
|
|
|
OUTDIR=$2
|
|
|
|
SCRIPTCSS=$3
|
|
|
|
|
2020-09-29 16:54:59 +00:00
|
|
|
OUT_FILE=$(dirname $OUTDIR)/doxygen.out
|
|
|
|
|
2020-01-17 11:22:36 +00:00
|
|
|
# run doxygen, capturing all the header files it processed
|
2020-09-29 16:54:59 +00:00
|
|
|
doxygen "${DOXYCONF}" > $OUT_FILE
|
|
|
|
echo "$OUTDIR: $(awk '/Preprocessing/ {printf("%s ", substr($2, 1, length($2) - 3))}' $OUT_FILE)" > $OUTDIR.d
|
2020-01-17 11:22:36 +00:00
|
|
|
|
2018-09-11 20:42:36 +00:00
|
|
|
"${SCRIPTCSS}" "${OUTDIR}"/doxygen.css
|