mirror of https://github.com/FFmpeg/FFmpeg.git
Previously it included the SRC_PATH in every title. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>pull/172/head
parent
c112be25f7
commit
753930bc73
2 changed files with 9 additions and 8 deletions
@ -1,21 +1,21 @@ |
||||
#!/bin/sh |
||||
|
||||
SRC_PATH="${1}" |
||||
OUT_DIR="${1}" |
||||
DOXYFILE="${2}" |
||||
DOXYGEN="${3}" |
||||
|
||||
shift 3 |
||||
|
||||
if [ -e "$SRC_PATH/VERSION" ]; then |
||||
VERSION=`cat "$SRC_PATH/VERSION"` |
||||
if [ -e "VERSION" ]; then |
||||
VERSION=`cat "VERSION"` |
||||
else |
||||
VERSION=`cd "$SRC_PATH"; git describe` |
||||
VERSION=`git describe` |
||||
fi |
||||
|
||||
$DOXYGEN - <<EOF |
||||
@INCLUDE = ${DOXYFILE} |
||||
INPUT = $@ |
||||
EXAMPLE_PATH = ${SRC_PATH}/doc/examples |
||||
HTML_TIMESTAMP = NO |
||||
PROJECT_NUMBER = $VERSION |
||||
OUTPUT_DIRECTORY = $OUT_DIR |
||||
EOF |
||||
|
Loading…
Reference in new issue