makedoc only includes tag annotation text in PROJECT_NUMBER

This commit is contained in:
Chris 2012-03-23 16:57:01 +00:00
parent 2a425dd8d6
commit e40557cfb4

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Get the latest tag annotation out of git.
VERS=`git tag -n1 | tail -n1 | perl -e '$tag = <STDIN>; $tag =~ s/^(.*?)\s\s+(.*)$/$1 - $2/; print $tag;'`
VERS=`git tag -n1 | tail -n1 | perl -e '$tag = <STDIN>; $tag =~ s/^.*?\s\s+(.*)$/$1/; print $tag;'`
# Generate the documentation with the project number updated with the tag.
(cat supportfiles/Doxyfile; echo "PROJECT_NUMBER = \"$VERS\"") | doxygen -