doc: hide verbose doxygen standard output

The standard output of doxygen is very verbose, and since ninja mixes
stdout and stderr together it makes it difficult to see any warnings from
the doxygen run. Therefore, we can just log the standard output to file,
and only output the stderr to make warnings clear.

Suggested-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2020-09-29 17:54:57 +01:00 committed by Thomas Monjalon
parent 87efaea637
commit 606fb48f3d

View File

@ -7,7 +7,7 @@ OUTDIR=$2
SCRIPTCSS=$3
# run doxygen, capturing all the header files it processed
doxygen "${DOXYCONF}" | tee doxygen.out
doxygen "${DOXYCONF}" > doxygen.out
echo "$OUTDIR: $(awk '/Preprocessing/ {printf("%s ", substr($2, 1, length($2) - 3))}' doxygen.out)" > $OUTDIR.d
"${SCRIPTCSS}" "${OUTDIR}"/doxygen.css