webperl/makedocs.sh

7 lines
227 B
Bash
Raw Normal View History

#!/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 -