diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-05 19:28:03 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 35e6fb3788dfd717d374647739cd8d0d790be96e (patch) | |
tree | 406f73600b2f5e330dfc2440fc50a1131c560462 /build_tools | |
parent | 9b799312654edc82596feb2af935bbf4aedf3adb (diff) |
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.
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/build_documentation.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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}'" |