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