From 753930bc7300dd595c4bab51c5a70d1da9083da4 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Sun, 20 Dec 2015 22:20:57 +0100 Subject: doc: make apidoc output independent of SRC_PATH Previously it included the SRC_PATH in every title. Reviewed-by: Michael Niedermayer Signed-off-by: Andreas Cadhalpun --- doc/doxy-wrapper.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/doxy-wrapper.sh') 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 - <