[dpdk-dev] [PATCH v2 1/6] doc/api: hide verbose doxygen standard output
Bruce Richardson
bruce.richardson at intel.com
Tue Sep 29 18:54:57 CEST 2020
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 at monjalon.net>
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
doc/api/generate_doxygen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/api/generate_doxygen.sh b/doc/api/generate_doxygen.sh
index ee509e896..b4d66eb15 100755
--- a/doc/api/generate_doxygen.sh
+++ b/doc/api/generate_doxygen.sh
@@ -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
--
2.25.1
More information about the dev
mailing list