summaryrefslogtreecommitdiff
path: root/scripts/doxygen-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/doxygen-wrapper')
-rwxr-xr-xscripts/doxygen-wrapper7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/doxygen-wrapper b/scripts/doxygen-wrapper
index baa7b26..2c2edb5 100755
--- a/scripts/doxygen-wrapper
+++ b/scripts/doxygen-wrapper
@@ -5,4 +5,11 @@
DOXYGEN="$1"
DOXYFILE="$2"
ABS_TOP_SRCDIR="$3"
+# Set environment variables that are unset
+if [ -z "$DOXYGEN_WARN_AS_ERROR" ]
+then export DOXYGEN_WARN_AS_ERROR="NO"
+fi
+if [ -z "$DOXYGEN_QUIET" ]
+then export DOXYGEN_QUIET="YES"
+fi
cd "$ABS_TOP_SRCDIR" && exec "$DOXYGEN" "$DOXYFILE"