Skip to content

Commit

Permalink
Warn if Doxygen is not installed, when building documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepetroules committed Jul 1, 2014
1 parent 84cdbbd commit 892c5f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/build-docs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash

if [ "$ACTION" = "" ] ; then
doxygen Documentation/Doxyfile
if which -s doxygen ; then
doxygen Documentation/Doxyfile
else
echo "warning: Doxygen not found in PATH"
fi
elif [ "$ACTION" = "clean" ] ; then
rm -rf "$SRCROOT/Documentation/html"
fi

0 comments on commit 892c5f1

Please sign in to comment.