summaryrefslogtreecommitdiff
path: root/doc/doxy-wrapper.sh
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-20 22:20:57 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-02 12:11:36 +0100
commit753930bc7300dd595c4bab51c5a70d1da9083da4 (patch)
treeb2325210bdde3c279313c38f1a1e073cfdeb2519 /doc/doxy-wrapper.sh
parentc112be25f7825d14b1c39ccbf325b85883f852c2 (diff)
downloadffmpeg-753930bc7300dd595c4bab51c5a70d1da9083da4.tar.gz
doc: make apidoc output independent of SRC_PATH
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>
Diffstat (limited to 'doc/doxy-wrapper.sh')
-rwxr-xr-xdoc/doxy-wrapper.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/doxy-wrapper.sh b/doc/doxy-wrapper.sh
index 9720e54030..fe0102b5bf 100755
--- a/doc/doxy-wrapper.sh
+++ b/doc/doxy-wrapper.sh
@@ -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