diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh index bbdb9097b7..9720e54030 100755 --- a/doc/doxy-wrapper.sh +++ b/doc/doxy-wrapper.sh @@ -6,9 +6,16 @@ DOXYGEN="${3}" shift 3 +if [ -e "$SRC_PATH/VERSION" ]; then + VERSION=`cat "$SRC_PATH/VERSION"` +else + VERSION=`cd "$SRC_PATH"; git describe` +fi + $DOXYGEN - <