You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
357B

  1. #!/bin/sh
  2. SRC_PATH="${1}"
  3. DOXYFILE="${2}"
  4. DOXYGEN="${3}"
  5. shift 3
  6. if [ -e "$SRC_PATH/VERSION" ]; then
  7. VERSION=`cat "$SRC_PATH/VERSION"`
  8. else
  9. VERSION=`cd "$SRC_PATH"; git describe`
  10. fi
  11. $DOXYGEN - <<EOF
  12. @INCLUDE = ${DOXYFILE}
  13. INPUT = $@
  14. EXAMPLE_PATH = ${SRC_PATH}/doc/examples
  15. HTML_TIMESTAMP = NO
  16. PROJECT_NUMBER = $VERSION
  17. EOF