8 lines
308 B
Bash
Executable File
8 lines
308 B
Bash
Executable File
#!/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/; print $tag;'`
|
|
|
|
# Generate the documentation with the project number updated with the tag.
|
|
(cat supportfiles/Doxyfile; echo "PROJECT_NUMBER = \"$VERS\"") | doxygen -
|