Files
jellyfin-ffmpeg/doc/doxy-wrapper.sh
T

25 lines
335 B
Bash
Raw Normal View History

2014-03-27 13:53:19 +01:00
#!/bin/sh
2016-03-07 00:15:29 +01:00
OUT_DIR="${1}"
2022-04-27 20:24:39 +08:00
SRC_DIR="${2}"
DOXYFILE="${3}"
DOXYGEN="${4}"
2014-03-27 13:53:19 +01:00
2022-04-27 20:24:39 +08:00
shift 4
cd ${SRC_DIR}
2014-03-27 13:53:19 +01:00
2016-03-07 00:15:29 +01:00
if [ -e "VERSION" ]; then
VERSION=`cat "VERSION"`
2015-03-07 13:08:53 +01:00
else
2016-03-07 00:15:29 +01:00
VERSION=`git describe`
2015-03-07 13:08:53 +01:00
fi
2014-07-19 21:38:16 +02:00
$DOXYGEN - <<EOF
2014-03-27 13:53:19 +01:00
@INCLUDE = ${DOXYFILE}
INPUT = $@
2015-03-07 13:08:53 +01:00
HTML_TIMESTAMP = NO
PROJECT_NUMBER = $VERSION
2016-03-07 00:15:29 +01:00
OUTPUT_DIRECTORY = $OUT_DIR
2014-03-27 13:53:19 +01:00
EOF