Updated build_doc…sh to run cleanly in Xcode build

If the lexicon input filter isn't specified (as is the case in the
current Xcode project, the script quietly continues without it.
This commit is contained in:
Mark Griffiths 2014-08-05 19:28:03 +01:00
parent 276d90a45d
commit 6513c7eab8

View file

@ -68,6 +68,12 @@ if test -z "$DOXYGENPATH"; then
exit 0 exit 0
fi 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 # Determine where our output should go
if ! mkdir -p "${OUTPUTDIR}" ; then if ! mkdir -p "${OUTPUTDIR}" ; then
echo "Could not create output directory '${OUTPUTDIR}'" echo "Could not create output directory '${OUTPUTDIR}'"