From 35e6fb3788dfd717d374647739cd8d0d790be96e Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Tue, 5 Aug 2014 19:28:03 +0100 Subject: Updated build_doc…sh to run cleanly in Xcode build 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(+) (limited to 'build_tools') diff --git a/build_tools/build_documentation.sh b/build_tools/build_documentation.sh index 2705898e..77eaad68 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}'" -- cgit v1.2.3