doxygen-wrapper 457 B

123456789101112131415
  1. #!/bin/sh
  2. # Run doxygen such that the working directory is the source root.
  3. # This is needed for various reasons (e.g. relative references in md files).
  4. # Do not use directly.
  5. DOXYGEN="$1"
  6. DOXYFILE="$2"
  7. ABS_TOP_SRCDIR="$3"
  8. # Set environment variables that are unset
  9. if [ -z "$DOXYGEN_WARN_AS_ERROR" ]
  10. then export DOXYGEN_WARN_AS_ERROR="NO"
  11. fi
  12. if [ -z "$DOXYGEN_QUIET" ]
  13. then export DOXYGEN_QUIET="YES"
  14. fi
  15. cd "$ABS_TOP_SRCDIR" && exec "$DOXYGEN" "$DOXYFILE"