Added auto-versioning doc generator script.

This commit is contained in:
Chris 2012-03-16 16:13:25 +00:00
parent 98a083de3f
commit d698901751

6
makedocs.sh Executable file
View File

@ -0,0 +1,6 @@
#!/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;'`
(cat Doxyfile; echo "PROJECT_NUMBER = \"$VERS\"") | doxygen -