11#! /bin/bash
2- # SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+ # SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33# SPDX-License-Identifier: Apache-2.0
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- # skip if doxygen is not installed
17+ # Skip if doxygen is not installed
1818if ! [ -x " $( command -v doxygen) " ]; then
19- echo -e " warning : Doxygen is not installed"
19+ echo -e " Warning : Doxygen is not installed - skipping check "
2020 exit 0
2121fi
2222
@@ -26,11 +26,13 @@ function version { echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4
2626# Doxygen supported version 1.8.20 to 1.9.1
2727DOXYGEN_VERSION=$( doxygen --version)
2828if [ $( version " $DOXYGEN_VERSION " ) -lt $( version " 1.8.20" ) ] || [ $( version $DOXYGEN_VERSION ) -gt $( version " 1.9.1" ) ]; then
29- echo -e " Warning: Unsupported Doxygen version $DOXYGEN_VERSION "
30- echo -e " Expecting Doxygen version from 1.8.20 to 1.9.1"
29+ echo -e " Warning: Unsupported Doxygen version $DOXYGEN_VERSION - skipping check "
30+ echo -e " Expected Doxygen version from 1.8.20 to 1.9.1"
3131 exit 0
3232fi
3333
34+ echo " Using doxygen version: ${DOXYGEN_VERSION} "
35+
3436# Run doxygen, ignore missing tag files error
3537TAG_ERROR1=" error: Tag file '.*.tag' does not exist or is not a file. Skipping it..."
3638TAG_ERROR2=" error: cannot open tag file .*.tag for writing"
0 commit comments