From 35e6fb3788dfd717d374647739cd8d0d790be96e Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Tue, 5 Aug 2014 19:28:03 +0100 Subject: [PATCH] =?UTF-8?q?Updated=20build=5Fdoc=E2=80=A6sh=20to=20run=20c?= =?UTF-8?q?leanly=20in=20Xcode=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the lexicon input filter isn't specified (as is the case in the current Xcode project, the script quietly continues without it. --- build_tools/build_documentation.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh index 2705898e9..77eaad687 100755 --- a/build_tools/build_documentation.sh +++ b/build_tools/build_documentation.sh @@ -68,6 +68,12 @@ if test -z "$DOXYGENPATH"; then exit 0 fi +# Check we have the lexicon filter +if test -z "$INPUT_FILTER"; then + echo >&2 "Lexicon filter is not available. Continuing without." + INPUTFILTER='' +fi + # Determine where our output should go if ! mkdir -p "${OUTPUTDIR}" ; then echo "Could not create output directory '${OUTPUTDIR}'"