Added auto-versioning doc generator script.
This commit is contained in:
parent
98a083de3f
commit
d698901751
6
makedocs.sh
Executable file
6
makedocs.sh
Executable 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 -
|
Loading…
x
Reference in New Issue
Block a user