2012-03-16 16:13:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Get the latest tag annotation out of git.
|
2013-01-14 13:55:22 +00:00
|
|
|
VERS=`git tag -n1 | sort -V | tail -n1 | perl -e '$tag = <STDIN>; $tag =~ s/^.*?\s\s+(.*)$/$1/; print $tag;'`
|
2012-03-16 16:13:25 +00:00
|
|
|
|
2012-03-23 15:43:56 +00:00
|
|
|
# Generate the documentation with the project number updated with the tag.
|
|
|
|
(cat supportfiles/Doxyfile; echo "PROJECT_NUMBER = \"$VERS\"") | doxygen -
|